lefthandedgoat / canopy

f# web automation and testing library, built on top of Selenium (friendly to c# also)
http://lefthandedgoat.github.io/canopy/
MIT License
506 stars 115 forks source link

Not able to run Script on RDP #477

Closed Suvarnaraut closed 4 years ago

Suvarnaraut commented 5 years ago

Hi Team, When I run my canopy script on my local machine it runs without error, but when I try to run same on RDP it gives error message "Timed out!"

Timed out!
   at canopy.wait.waitResults[a](Double timeout, FSharpFunc`2 f) in C:\projects\canopy\src\canopy\wait.fs:line 29
   at canopy.core.op_ComposeLeft[a](a item, String text) in C:\projects\canopy\src\canopy\canopy.fs:line 381
   at Yardi.Canopy.Breeze.YB_Utils.EnterUserName@24.Invoke(Unit _arg1) in C:\Cafes\AngularCafe\Products\Breeze\dev\canopytests\Yardi_Breeze\Yardi_Breeze\YB_Utils.fs:line 27
   at canopy.runner.tryTest[a,b](a test, b suite, FSharpFunc`2 func) in C:\projects\canopy\src\canopy\runner.fs:line 134

Thanks,

lefthandedgoat commented 5 years ago

I dont know exactly what you mean by running over RDP. Do you mean you remoted into a box, and are launching the tests from that box?

When it says Timed out like that, it menas its trying to do something and can't, and its usually because something is blocking the action.

It looks like whatever you are trying to do in your code here YB_Utils.EnterUserName@24 isn't working. The text box may be disable, or not visible, or obstructed by a drop down or something. You will have to run the test and watch with your eyes to see what is going on.

lefthandedgoat commented 4 years ago

Feel free to re-open if you can help me understand your problem.