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 |
i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
What types of testing comes under functional testing or in other word what will you test in functional testing?
What are the 3 main stages involved in testing with qtp?
What are the disadvantages of Recovery Scenarios in QTP ?
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
write script to read and write data from file ?
What is the difference between functions and actions in QTP?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code
Write Descriptiv prg 4 login logn....txt bx password---txt bx ok---btn
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.