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 |
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
Is VBscript case-sensitive?
How to get path of the file through scripting?
how to write basic programs in VB Script like addition, multiplication?
How to capture a runtime error in vbscript?
Inorder to avoid Message box while writing script which alternative method can be used?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
what is descriptive programming in QTP and what is environment variable in QTP? where we store and what is its use?
I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<<The data retrieved from data base >>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links
How to generate 3 digit random number?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?