when there is a task that gets repeated in multiple scripts
what do you do in QTP?
Answer Posted / chaitu
Here you want to repeate the multiple scripts in Qtp, So
definately you can for Keyword Driven Frame Work
Here Generally All testscripts are converted into functions
put in separate fold , when we want that script in midle of
the main script we can call that functions like
Executefile"path of the .vbsfile"
Call FunctionName()
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is business process testing(bpt) in qtp?
What are the common defects found in your project? (in qtp interview)
How to analyzing test results using quicktest professional (qtp)?
What is QTP and the use of QTP in TD?
What is 'sleep' in sync point?
what is the difference between the modular framework and datadriven frame work
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What is the difference in the global and action sheet in qtp?
Can we run test with out adding object in object repository? How it is possible?
how can i pass a "cript"as a parameter in to a function
What is RTM (require ment tracebulity marix) fromate?