how to display all the links in one page using vb script in qtp.
Answer / sowmya
We can use the page check point to display the number of
links in a web page
or
we can create the child object
set objlink=description.create()
objlink ("micclass").value='weblink'
set odesc=browser("browser").page("browser").childobject
(objlink)
numberoflinks=objlink.count
msg numberoflinks
i think it should work.....
| Is This Answer Correct ? | 7 Yes | 4 No |
How will you convert a string to upper case string using vbscript?
How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?
Explain about arrays in vb script?
Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex
how does vb script help in web page designing? explain with example.
write a qtp script to count the number of minimized windows
Mention what is the use of option explicit in vbscript?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
What is the output of a + b in vbscript if a = 5 and b = 10?
how to add the shared repository file to the script file while running the script manuall
can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)
How regexp.execute method works?