question

kmd6076 avatar image
kmd6076 asked kmd6076 commented

iTestRT under Linux not displaying web page properly

I am using iTest 4.1 on Ubuntu 12.04 and have noticed that when I run my test case using iTestRT, the web session is not properly opened until after I hover the mouse over the browser window. When this test case is run in the iTest UI the web session opens properly. Has anyone else seen this odd behavior? I changed several settings for the open step in the test case but unless the mouse is over the browser window it stays stuck with 'connecting to in the browsers status window.....![alt text][1] [1]: /storage/temp/3711-linuxbrowsernotopeninguntilmousedover.jpg
iTestiTest Runtime (itestrt)Linux
3 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kmd6076 avatar image kmd6076 commented ·
Update - the linux machine I am using is a VM that I am remote desktop'd into and it seems that if I click anywhere in the remote desktop window the web browser then renders the page...
0 Likes 0 ·
kmd6076 avatar image kmd6076 commented ·
Update - I found a workaround for this window focus issue. I open the web session in a separate thread, sleep for 5 seconds so the window has a chance to open, then execute a selectWindow command on that session to bring the focus to the web browser.
0 Likes 0 ·
kmd6076 avatar image kmd6076 commented ·
The workaround is not consistent and cannot be used. The open step is started in its own thread but the next step is never executed. The open step doesn't appear to complete and even with an execution duration set the step doesn't timeout. Only when the mouse is clicked inside the remote desktop session will the iTest Web Browser start t to load the page.
0 Likes 0 ·

1 Answer

·
sai_kiran avatar image
sai_kiran answered sai_kiran edited
As you are using VM, it might be taking some time to connect to the Web server. So after you added sleep for 5seconds it might be working fine.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.