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 |
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
What is 'sleep' in sync point?
I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?
hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......
How to capture dynamic objects in qtp like mark up text
there are having 10 checkboxes..how can i check only first 5 check boxes by using descriptive programing..
what skills needed to be good test automation?
what is the difference between seat and concerent licenses.
what is Compile Module in QTP? what exactly it contains Functions or Actions?
Explain the concept of how quicktest professional identifies object?
How to find Operating system information using QTP script?
How to execute a VBS file without using Execute File statement?