1) In local.testsettings file > Test Timeouts tab > set 2mins for indivisual test execution field and unselect checkbox for total execution time field
2) Created a test list of say 5 test cases in VS2012
3) First test will abort after 2 minutes. (as it reached time out)
5) Second test will start notice that the browser hangs and user can't logon and test aborts after two minutes
6) Step 5 is repeats for all test cases
Plase assist me on this. why browser is hanging from second test cases execution?
Using IE9(v 9.0.8112.16421)
Thanks,
Hari
Execution machines
Active Name Operating System Service Uri
--------------------------------------------------------------------------------------------------------------
No | ie7vista | Microsoft Windows NT 6.0.6002 Service Pack 2 | http://ie7vista:55555/ |
Yes | mainpc | Microsoft Windows NT 6.1.7601 Service Pack 1 | http://mainpc.mycompany.com:55555/ |
No | ie9win7 | Microsoft Windows NT 6.1.7601 Service Pack 1 | http://ie9win7:55555/ |
ArtOfTest.WebAii.Win32.Dialogs.DownloadDialogsHandler downloadDialog =
new
DownloadDialogsHandler(ActiveBrowser,
DialogButton.SAVE,
"C:\\PQZHoldings.csv"
, Manager.Desktop);
HtmlAnchor a = Find.ByExpression<ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor>(
"id=ctl00_MainPageLeft_MainPageContent_ExportHoldings1_LinkButton1"
,
"tagname=a"
);
a.Click(
false
);
downloadDialog.WaitUntilHandled(10000);
Hi, I’m wondering if there’s someone who could offer me some help on a small problem which I’ve been having.
My companies’ software uses an auto-complete feature on a lot of the fields where an option must be selected from the list to continue/populate information, example of which is below:
Now, depending on where I click on this drop down list the element added is either something like this:
And named ZyexStrongTag
Or something like this:
Named UiActiveMenuItemLink (where i've just clicked on the menu but not the company name)
The former will work fine enough for the company it’s intended for but I’m trying to write a more generic script that I can data bind to. However, I can’t data bind to a click action nor seem to find a way to re-target the element/action to just select any option that pops up on the auto-complete list as the element always seems bound to the text entered.
So i suppose what i'm asking is:
Is there a way to data bind to click actions? or;
How do i better target/identify my elements for these auto-complete drop-downs to be less text content specific?
I hope that makes sense and would really appreciate some guidance.
Thanks,
Adam