How to automate the windows dialog box which is coming in
the run mode?
Whenever I run my scripts,I am getting dialog box ( for ex:
Pls enter zipcode" eventhough I already entered the
value,the dialog box pops up).I need to click it.
Pls give some idea-How to automate the dialog box which is
pop up in the runtime.
Answers were Sorted based on User's Feedback
hello friend, use the Recovery Scenario
If it is POP UP window
1)Select Trigger Event as POP-UP Event
2)Select Recovery Operation as Key board or mouse operation
3)Select Recovery Operation - Click Button or press enter key
4)Give the Scenario name
5)Save the Scenario (it is in .QRS)
Associate the scenario in your test, so that when ever you
get the pop-up window the recovery scenario do the click, no
need to click manually in run time
Thank You
| Is This Answer Correct ? | 3 Yes | 0 No |
i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...
What are the types of data tables in qtp?
What is synchronization? What are the ways you can synchronize?
I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines.
What is the extension of 'Log file' in QTP
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
What is the another extension name of library file. If that is exist than what's the difference between them.
What is recovery scenario manager? When you go for recovery scenario manager?
I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4
How to analyzing Test Results using QTP?
How to use checkpoints in qtp ?
What is object repository in qtp?