Can someone please help me?
The target application is a multiple choice test with max. 4 answers (1,2,3,4) and the number of questions is variable. In one test there are 30 questions and in the other 60.
How can i tell Testpartner to choose the answers occasionally?
I have inserted a repetition logic so that Testpartner can answer all question and it doesnīt matter if there are 30 or 60 questions.
The target Window is changing when the last question is answered and Testpartner should realize this and should click on a button.
How can i make this? Can i insert a check or better an event in the repetition logic???
I have tried both but i doesnīt work. Iīve tried it with a Testscript and a Visual Test.
I hope someone can help me.
Sorry for my english
Can you add logic to check to see if that new target window exists?
QA Software Tester http://www.marchforbabies.org/rdemers25
Iīve tried to insert a check and the check passed, although Testpartner didnīt click on the Ok Button.
The playback was not ok, but the check was.
I donīt know how to tell Testpartner to click on the button when the check passed.
The check was inserted to a repetition logic.
For a visual test:
Insert Property from Control using Exists - perform an immediate attach and suppress error handling.
Create an If statement that reads if tpLastReturnValue = True (this can be found in the variables that are reserved)
Click Ok button
This will have it check to see if it exists and then click if it does. Generally I insert a delay before a check to see if something exists since we are performing an immediate attach.
"I think when you spread the wealth around, it's good for everybody." -- Toledo, Ohio, Oct. 12, 2008
One more way of doing this
As you have already inserted a check you will get the value of the result of your check in tpLastCheck. Depending on value True or False you can take your action to click on the Ok Button.
Thank you very much for your help.
Thanks a lot