What is creation time property and how does it work?
Answer / siva reddy(us)
During recording, if QuickTest is unable to uniquely
identify a browser object based solely on its test object
description, it assigns a value to the CreationTime test
object property. This value indicates the order in which
the browser was opened relative to other open browsers with
an otherwise identical description.
During the run session, if QuickTest is unable to identify
a browser object based solely on its test object
description, it examines the order in which the browsers
were opened, and then uses the CreationTime property to
identify the correct one.
For example, if you record a test or component on three
otherwise identical browsers, opened at 9:01 pm, 9:03 pm,
and 9:05 pm, QuickTest assigns the CreationTime values 0 to
the 9:01 pm browser, 1 to the 9:03 pm browser, and 2 to the
9:05 pm browser.
At 10:30 pm, when you rerun your test or component, suppose
the browsers are opened at 10:31 pm, 10:33 pm, and 10:34
pm. QuickTest identifies the 10:31 pm browser with the
browser test object with CreationTime = 0, the 10:33 pm
browser with the test object with CreationTime = 1, and the
10:34 pm browser with the test object with CreationTime =
2.
Ref QTP help for more details
| Is This Answer Correct ? | 12 Yes | 0 No |
Explain the concept of object repository & how QTP recognises objects?
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd coloums name (not data)how can any one explain
How will you handle the situation when object is not captured during record?
WHICH PROCESS U FOLLOW IN COMPANY
1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?
1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first
can any body pls mail me latest FAQ's in QTP to my mailid btrintra@gmail.com....Thanks in advance
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)
what is stlc and its contents?