how to write scripts in QTP?
Answers were Sorted based on User's Feedback
Answer / malathi
Using methods in object spy we can write scripts.
using step generator we can write scripts.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / tripti arya
Scripts in QTP can be generated through recording or through
descriptive programming.Use object spy for descriptive
programming.
| Is This Answer Correct ? | 1 Yes | 1 No |
HI This is Chakravarthy.
If u know "C" language it is very easy to write VB Script.
and u have to know how can we use Scripting in QTP.
for ex. we wil use if conditions,nested if,for loops,while
loop,variable diclarations,functions,......etc in QTP.
all this topics come under "C" Language.
If u have any Queries contact me at
mskalyan.smile@gmail.com
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / somalatha
first of all, by recording, scripts can be automatically
generated. other ways include through editing scripts,
using step generator, capturing through text check points
and through descriptive programming
| Is This Answer Correct ? | 1 Yes | 6 No |
how will you check how many members visited the website www.infosys.com?
what is vmodel?advantages and disadvantages of vmodel?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
Tell about descriptive programing in qtp8.2?
when we apply the daily build each and every day,the property may change in the application.so that the created script is not reusable in winrunner and qtp.for ex for date field it is taken dtpicker.at another time it is taken some other name.how can i solve it.
I have made the recovery scenario in script. When i am exceuting the script. it stop automatically after running recovery scenario. Please tell the resaon?
get the order no from the following orderdetails orderstring="ORD13456PNR" eg:13456
How will you find the current time of the remote machine using QTP script?
why can't you use excel directly in qtp. why we want to import excel data into Datatable.
What are the main features we have to compulsory test by using qtp in an web based application
Can any one please explain hwo to test client/server application using QTP?
Synchronization methods?