I want to know how to execute the descriptive programming in
qtp for the webedit object which does not contain attached
text property. but i have checked it with name and html id
property. Even though it is not executing. it is giving
error in object's physical description.
Answers were Sorted based on User's Feedback
Answer / denis parker
Set oDesc = Description.Create()
oDesc("micclass").Value = "WebEdit"
oDesc("name").Value = "YYY"
oDesc("html id").Value = "14A"
'Retrieve all WebEdit objects in this page
Set EditCollection = Browser("B").Page("B").ChildObjects(oDesc)
NumberOfEdits = EditCollection.Count
'Search for a specific WebEdit object and set its value
For i = 0 To NumberOfEdits - 1
EditCollection(i).Set "AAAA"
Next
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rkreddy
Set desc=description.Create
desc("mic class").value="webedit"
browser("name:=book store").page("title:=book
store").webedit(desc).Set"india"
try it....
Is This Answer Correct ? | 0 Yes | 1 No |
How do you do batch testing in QTP, if so explain?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
How you can decide which type of object repository you have to use?
how qtp identifies objects of application.
how can we handle exceptional handling in qtp
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?
Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value
Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?
What is quicktest professional?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
How to fetch web elements count from Google Page which contains letter "e"
What is FRAME WORK? How many Frameworks can QTP supports?