What is the use of Selenium Remote Control - SELENIUM

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: What is the use of Selenium Remote Control - SELENIUM

Re: What is the use of Selenium Remote Control - SELENIUM

Post by Cerberus » 04 Jun 2018, 19:11

SL5 wrote:yes thats really good. And i control it ofer AHK :) really great selenium

Example:

Code: Select all

...
Very interesting; so what does this code do?

Re: What is the use of Selenium Remote Control - SELENIUM

Post by Xtra » 06 Feb 2018, 14:23

Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated.

Re: What is the use of Selenium Remote Control - SELENIUM

Post by SL5 » 06 Feb 2018, 08:56

yes thats really good. And i control it ofer AHK :) really great selenium

Example:

Code: Select all

;gosub,setMouseToSeleniumIDE
setMouseToSeleniumIDE:
		IfWinNotActive,Selenium IDE
		WinActivate,Selenium IDE
		WinWaitActive,Selenium IDE
		MouseMove,120,  100,0
return


;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
;~ Gosub, clickOtherTab
clickOtherTab:

	MouseGetPos,x,y
	WinGetActiveTitle,W1206011216


	;MsgBox,countFrozen>%countFrozen%
	ToolTip,%A_LineNumber%: countFrozen>%countFrozen%
	Sleep,2000

	SetTitleMatchMode,2
	Loop,10
	{
		WinActivate,%Title1%
		WinWaitActive,%Title1%,,1
		IfWinActive,%Title1%
			break
	}
	
	Loop,20
	{
		SetTitleMatchMode,2
		ToolTip,%A_LineNumber%: WinWaitActive`,%Title1%
		WinWaitActive,%Title1%,,2
		IfWinNotActive,%Title1%
		{
								WinActivate,%W1206011216%
					ToolTip,WinWaitActive %W1206011216% 1
					WinWaitActive,%W1206011216%,,1
					ToolTip,					
					MouseMove,%x%,%y%,0

			return
}		
		xmax := A_ScreenWidth - 120
		xmin := 200
		;~ Random,xClick,200,xmax
		xClick := xClick + 99
		if(xClick > xmax)
			xClick:=xmin + (xClick - xmax)
		if(xClick < xmin)
			xClick := xmin + (xmin - xClick)
		
		;~ if( abs(xClickOld-xClick) < 200 )
			;~ Random,xClick,200,700

		xClickOld:=xClick
		;MouseClick, left,  %xClick%,72,1,50
		;MouseMove,%xClick%,72
		
		DllCall("SetCursorPos", int, -xClick, int, 85)
		Click
		ToolTip,%A_LineNumber%: DllCall("SetCursorPos"  -%xClick%
		IfWinNotActive,%Title1%
			break
		Sleep,2000
		; try something else
		IfWinNotActive,%Title1%
			break
	}
;~ gosub,showCSVcontentWindow

					WinActivate,%W1206011216%
					ToolTip,WinWaitActive %W1206011216% 1
					WinWaitActive,%W1206011216%,,1
					ToolTip,					
					MouseMove,%x%,%y%,0

return

Re: What is the use of Selenium Remote Control - SELENIUM

Post by rahim123 » 06 Feb 2018, 05:07

Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser.

Top