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

Executing problems with Safari,FF,IE

5 Answers 179 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
LaTestQA
Top achievements
Rank 1
LaTestQA asked on 18 Aug 2010, 12:37 PM
Hi! I wrote some tests for our web application. But have problems with executing:

1) WebUI doesn't work with Safari 4 and 5 on my machine

I installed Safari v 4.0 after installing WebUI Test Studio QA. And when I try to execute tests - nothing happens!

Just browser opens in my local machine and on the page I see a picture with the text "ArtOfTest". On other remote machine I also try to execute the same tests but neither in Safari nor in FireFox(v3.6) they didn't even start! The message was: " Enable to ping runner. Test is either hung or crushed ".

p.s. I looked into WebUI folder on the disk C:\Program Files\Telerik\WebUI Test Studio 2010.2\Browser Extensions.

I noticed that FireFox folder contained more files than Safari's folder and has ArtOfTest.FireFox2.dll. Something not that........

2) In one test I work with Jquery dialog. It has some buttons,text fields and check box.One submit is disabled until user click on checkbox. When I record a test everything was ok: after clicking on the checkbox he submit button became enabled and test was continued. But when I execute it in IE 8 this submit didn't become enabled!

WHY???? In FF test passed ok! Safari doesn' work.

Please, explain to me what should I do my tests'll work properly? What's wrong?

5 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 18 Aug 2010, 12:44 PM
Hello,

Please check this documentation article discussing how to configure Safari for automation and let us know if that helps.

As to the second problem, can you please enable the annotation to able to follow whether the test performs the expected action over the CheckBox in question? Also is there some custom JavaScript attached to this CheckBox click handler? You can check that inspecting the HTML output and compare that for IE and FF. the differences in the output may point to the cause of the problem in IE.

Regards,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
LaTestQA
Top achievements
Rank 1
answered on 18 Aug 2010, 01:06 PM

1) I did it, nothing's changed... First I try it to Safari 5, but when I read that WebUI supports Safari 3,4 I thought that the problem in version of Safari. And I said - tests in FF and Safari don't start at all on the remote machine!

I added exceptions in Windows Firewall for the following on the remote machine:

-ArtOfTest.Runner.exe
-ArtOfTest.WebAii.HttpProxy.exe
-Telerik.WebUITestStudio.exe

Not work.

And IE tests don't work properly. Test just starts and my window is closed.

2) But site correctly works in all browsers(Opera,IE(6-8),FF,Chrome,Safari) and such behaviour I found out just while executing the test!

 

I'm from Russia. Can we speak in Russian?

0
Konstantin Petkov
Telerik team
answered on 18 Aug 2010, 01:32 PM
Hello,

Do you have Silverlight installed on your machine? The Safari extension will need it so please install it if you don't have that running. It shouldn't matter if you have SL3 or SL4 version installed.

The remote run failures are a separate issue. Can you share how you run those tests on the remote machine? Are you running those manually from the QA Edition while you are connected via remote desktop for example? Or do you have the Execution Edition installed on the remote machine and running the tests through command line?

Please also make sure Firefox is configured as per the documentation on the remote machine.

For the CheckBox click action you can also try a Mouse LeftClick step added manually. Instead of clicking on the CheckBox during recording, please follow these steps:
- Enable the hover over and highlighting mode from the recorder toolbar
- Hover over the check box
- In a second you will get a blue nob, click it to load the element menu
- From the list of options find and click the Mouse Actions
- Choose LeftClick then Center so that the test can simulate a mouse click over that element
- Make sure the "Desktop command: LeftClick on <check_box_friendly_name_sits_here>" is added to your test.

Once you have that action added execute the test again and see if the click action is performed successfully.

Sincerely yours,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
LaTestQA
Top achievements
Rank 1
answered on 18 Aug 2010, 02:35 PM

I read a forum today and Install Silverlight 4.0. It didn't help me unfortunatly.

.................

- Are you running those manually from the QA Edition while you are connected via remote desktop for example

Yes, I do that. User is admin. 

But FF has the same configuration as on my local machine. 

I've done your instructions about left mouse click - doesn't help...

0
Cooksey
Telerik team
answered on 24 Aug 2010, 08:21 PM
Hi LaTestQA,

In Safari, can you make sure that you have "Block Pop-Up Windows" turned off? If pop-up windows are blocked, then we won't be able to create a new browser window for the test.

Can you also please try running the test again, then select the Help tab, then click on View Log, and send the information from that window? Hopefully the log file will contain more information about what is going wrong.

Greetings,
Cooksey
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
LaTestQA
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
LaTestQA
Top achievements
Rank 1
Cooksey
Telerik team
Share this question
or