Can Any One Write How to Write the Script for Child Objects
Answer Posted / sandeepguttikonda
Child Objects are used to perform the operations on similar
data.
Example: to get the total number of link in a Page:
And we can perform this by using the below code:
/* Creating the description object*/
Set oDescFrame = Description.Create
oDescFrame("micclass").Value = "links"
Set Links_Count = Browser("name:="&Browsername).page
("title:="&Pagetitle).ChildObjects(oDescFrame)
Msgbox &Links_count.count
This will display the total number of links in a page.
Please let me know if you need any further info.
Thanks.
Regards,
Sandeep Guttikonda
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Have you used xml check point in your project? How?
What is the qtp testing process?
When to use shared and local object repository?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
How you can find length of array in qtp?
Get the count of files of similar types from a folder.
What are the ordinal identifiers in web page?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
Explain advantages and disadvantages of ddf?
What are the different types of recording modes?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
How do you convert manual test cases to automated test cases?
Is QTP supports Unix. If yes, then how the test automation is done?