Can objects recognised without repository?
Answers were Sorted based on User's Feedback
Answer / ganesh kumar
yes, with the help of Descriptive Programming concept we
cna define the user desccrition of the object. where the
QTP will use to recognize the object during the runtime.
Set oDesc = Description.Create()
oDesc("micclass").value = "Link"
oDesc("html tag").value = "SPAN"
oDesc("name").value = "LogOut"
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / haribabu
yes, using object spy we can recognised all objects what
ever you want
| Is This Answer Correct ? | 2 Yes | 3 No |
Can we use index on view?
what is the use of Text output value in Qtp?
How do you delete unwanted results in qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
when there is a task that gets repeated in multiple scripts what do you do in QTP?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
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)
w is descriptive programming
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
What is Descriptive Programing? In which cases, we will go for descriptive programing?
what are the main differences between keyword driven frame work and data driven frame work?
what is the process to follow between writing the test cases & then atomating it?