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 |
What is Querystring collection?
hi, How will write a regular expression of date in VB scripting.
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
How to select a value from a list box by using Selenium web-driver?
who you define variables and functions in VB?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Please Example programms on vbscript 1)writing functions and calling functions
how to retrive the tooltip by using descriptive programming in qtp?
what is extension of the file if its saved from recovery manger to some drive
I am running a windows based application.While running the script on QTP ,The Application pop-up an Error Message as "object Disabled" in two different scenarios Scenario 1-->The Application pop-up up a Message for Max Session Reached(as the application is set to hold 2 session and if if crosses the pre-defined limit then the error message pop-up) Scenario 2-->When Network connectivity is disabled the Application screen gets greyed out in colour with no operation possible. Now through Exception handling features in QTP ,we need to do the following For Scenarion 1-->Through Exception handling we need to just accept the Message pop-up in the Application and and resume with the call function as is for Scenario 2--> Through Exception Handling featutes on QTP we need to shut down the client , restart the client and resume the call functions as it is Note: The Application returns an Error Message as "object disabled" in both the cases i.e for pop-up message and when the Apllication getting greyed out due to Network failure how can we enhance the script in such a way that for the same error message retured by the application in two different and how to handle them????
What is a class in CSS?
What is the event handling in vbscript?