What is the use of Selenium Remote Control - SELENIUM

Talk about anything
rahim123
Posts: 1
Joined: 06 Feb 2018, 04:56
Contact:

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

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.
User avatar
SL5
Posts: 879
Joined: 12 May 2015, 02:10
Contact:

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

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

User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

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

06 Feb 2018, 14:23

Selenium WebDriver is the successor of Selenium Remote Control which has been officially deprecated.
User avatar
Cerberus
Posts: 172
Joined: 12 Jan 2016, 15:46

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

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?

Return to “Off-topic Discussion”

Who is online

Users browsing this forum: No registered users and 33 guests