This is a migrated thread and some comments may be shown as answers.

(WebUI -Telerik) Unable to launch the browser while executing the .aii file

13 Answers 176 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 03 Feb 2011, 07:10 AM
Hi Team,

The issue is, if I create .aii file with recorded step like navigate to google.com and clicking on different links.

Now if try to execute this .aii file, it is unable to launch the browser and thus unable to execute the .aii file.

P.S- 1. We are using WebUI QA Edition ( 2010.3 1213).
        2. We are using IE browser on Windows XP Pro. 

Reference .aii file attached : WebAiiTest2.zip

Regards,
Dev
(GHI Team)

13 Answers, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 03 Feb 2011, 09:27 AM
You better provide archive with  the whole project folder, just ai file isn't enough  to see what is the problem.
Check if you have .net framework 3.5. I used to have same problem because my framework was 4.0 Beta.
0
Dev
Top achievements
Rank 1
answered on 04 Feb 2011, 07:04 AM
Hi Alex,

Thanks for following-up.

I am using .net framework 3.5 and still I am encountering the simpler issue. Please find the attached project with .aii file (google.aii) for reference.

Regards,
Dev
(GHI Team)


0
Alex
Top achievements
Rank 1
answered on 04 Feb 2011, 08:39 AM
Test is running ok. The only problem is that script is recorded long time ago or google have changed something on their website, because tool cant find the elements you record. I have attached video with test run on my pc. I saw that you have some sln files. Are you using the dev version?
0
Alex
Top achievements
Rank 1
answered on 04 Feb 2011, 08:40 AM
May be problem is connected with environment, not with the script.
0
Konstantin Petkov
Telerik team
answered on 04 Feb 2011, 08:45 AM
Hello,

@Dev, do you get an some error on execution? Can you please post a screen capture to show how the failing execution on your end? Can you also share the test log?

@Alex, thanks for your help!

All the best,
Konstantin Petkov
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Alex
Top achievements
Rank 1
answered on 04 Feb 2011, 08:49 AM
This is how test should look like.
0
Alex
Top achievements
Rank 1
answered on 04 Feb 2011, 08:55 AM
Also forgot to say that you should not use the browser instance in the same time. IF you launch the script using IE make sure all IE instances are closed before that. That is very important and may confuses the tool.
0
Dev
Top achievements
Rank 1
answered on 04 Feb 2011, 09:23 AM
Hi Team,

Thanks for feedback @Alex and @Konstantin Petkov.

Yes I have closed all the browsers before executing the .aii file and @Alex thanks for the screenshot.

Please the attached screenshot and Test log.

Reference: Screenshot.jpg and TestLog.txt

Please provide your feedback.

Regards,
Dev
(GHI Team)

0
Konstantin Petkov
Telerik team
answered on 04 Feb 2011, 09:30 AM
Hello Dev,

Thanks for sending those.

What we have seen happen on a few rare occasions is our test runner program get stuck and not shut down properly. If it's still running when you try to launch another test you will get the error you are seeing.

Open up Task Manager and look for a process named ArtOfTest.Runner.exe. If you find it still running but no test is actually running please kill it using End Process in Task Manager.

Please let us know if you still experience this issue.

Best wishes,
Konstantin Petkov
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Dev
Top achievements
Rank 1
answered on 04 Feb 2011, 11:24 AM
Hi Konstantin ,

Thanks for the feedback.

No process ArtOfTest.Runner.exe is running  and I am still encountering the similar issue.

Regards,
Dev
0
Konstantin Petkov
Telerik team
answered on 08 Feb 2011, 07:34 AM
Hello Dev,

Please try the latest internal build from January (labeled 2010.3.1307). You can get that from this product download page.

Kind regards,
Konstantin Petkov
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Sheetal
Top achievements
Rank 1
answered on 09 Feb 2011, 06:48 AM
Hi Team,

Thanks for feedback.

As per Telerik Team I have downloaded and used the latest internal build from January (labeled 2010.3.1307) picked from here:-  this product download.On using the I am encountering the similar issue. 

ERROR LOG on executing .aii file
-------------
2/8/2011 9:35:01 PM' - Error encountered during execution.
------------------------------------------------------------
'2/8/2011 9:35:01 PM' - Error launching the runner. Error: System.TimeoutException: The operation has timed out.
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Launch(Int32 waitForReadyTimeout, String pathToRunner, Int32& runnerProcId)
------------------------------------------------------------
'2/8/2011 9:35:01 PM' - Aborting....
------------- 

P.S:- 1. I have closed all existing browser before executing so as not to confuse the tool.
        2. In Task manager no artoftestrunner.exe is running i.e. to verify and closed (if open) before executing the .aii file.
        3. We are using the visual studio 2008 for creating .aii file.
        4. We are remotely connecting to machine(virtual machines) to perform the above task.
        5. The .aii file successfully executing with old version Webaii 1.1.  

Please can we have live meeting(goto meeting) to go through this issue. It will be highly appreciable as its totally weird why I am not able quick execute the .aii at my end.

Regards,
Dev
(GHI Team)

0
Cody
Telerik team
answered on 09 Feb 2011, 05:30 PM
Hello Devender Sharma,

Let's setup a GoToMeeting where we can see all the problems you have been running into and be able to work more efficiently at finding the right solutions to your automation and upgrade problems. Let me know what time zone you are in and your availability and I'll setup the meeting. I'm in Austin, TX which is Central Time (GMT -6).

Regards,
Cody
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
Dev
Top achievements
Rank 1
Answers by
Alex
Top achievements
Rank 1
Dev
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Sheetal
Top achievements
Rank 1
Cody
Telerik team
Share this question
or