How to create configuration scripts
Answer / kampli rajasekhar
<create QTP object instance>
set qtpapp=createobject("quicktest.application")
<launch the QTP application>
qtpapp.launch=true
<makes the QTP application visible>
qtpapp.visible
<The following 4 lines code used for golobal settings>
qtpapp.options.run.runmode="fast"
qtpapp.options.run.viewresults=true
qtpapp.options.run.capureimagefortestresults="never"
qtpapp.options.run.capuremoviefortestresults="never"
<The below line used for opening a test>
qtpapp.open "path of the script filename"
<the below 3 lines are used 4 local settings of the
particular test>
qtpapp.test.settings.run.iterationmode="one iteration"
qtpapp.test.settings.run.disablesmartidentification=true
qtpapp.test.settings.run.objectsynchronustimeout=10000
<the the below line is used for to run the test>
qtpapp.test.run
<the the below line is used for to close the test>
qtpapp.test.close
<the the below lin is used for to quit From QTP application>
qtpapp.quit
| Is This Answer Correct ? | 1 Yes | 0 No |
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???
IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
Hi, I have 50 test cases for automation, Based on which criteria we can decide for these test cases we have to use Descriptive programming and remaining for general coding? Thanks In Advance..Kavitha
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
describe some problems that u had with automating testing tool?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
why we use sendkey method in qtp?
How many types of trigger events are there in qtp?
can any one tell me the script to click on a button in the wintoolbar.
How is UFT 11.5 version different from UFT 12.0?
How do u do batch testing in WR & is it possible to do in QTP, if so explain?