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 |
Explain about the extension .hta?
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
compare the string without using stringcomp function?
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
Is vbscript a case-sensitive or case-insensitive?
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
how to increasing the numbers in a given text box please write a vb script
Am working with web application. i faced one senario. i.e, webpage having webtable having two coloumns, in that first coloumn is for serial no and second coloumn is for mac address link, now i want to get first row second coloumn value, that having macaddress as link. Please help me how to get that link?
How will you release the memory acquired by an array variable in vbscript?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
write a vb script to display the size of the folder,date created and name of the folder
find the length of the string without using length function?