Problem: Whenever we are trying to automate any applciation through Coded UI Test, Say
Record a SQL server instance launching , providing the credentials , selecting the database , expanding a tree node in the object hierarchy and clicking on New Query
When tried to Play back the Coded Ui test, Test fails to expand the tree node and click on the selected database
Solution for this.:
It is failing due to lack of synchrinisation between each of the mouse clicks
Add the code under every mouse click as
Playback.PlaybackSettings.WaitForReadyLevel = WaitForReadyLevel.AllThreads;
This will help in navigating each request that we have recorded
Hi,
Please try to keep the code inside the code tag, then it will look good.
Thanks,
Posted by:
SwatiV
on: 3/25/2011
Level:Starter | Status: [Member] | Points: 10
Sure!! Thanks for the Suggestion..Updated accordingly
Nice, thanks for your quick update.
Keep it up...
Im a learner for coded ui test. can u please guide me for one flow of the applciation.
In my application i have child items like in menu bar we have child items
like
1 (if we place the cursor on 1 it displays 2 )
2 (if we place the cursor on 2 it displays3,4,5,6 ) 3
4
5
now the query is i want to click 3
while rcording it is identified.but in playback it is not working
Im very new to coded ui automation. can u please suggest hw to prepare framework for one complete application
i have group of test cases hw to link and execute ata time
thanks in advance
Kalyan Santosh