-
-
Count Number of Links
How to count number of links in a web page using QTP?
-
For Loop problem in QTP
I am using the For Loop to get data from the data table. The summary code is:C=datatable.getrowcountFor i=1 to cmsgbox Datatable.Value("Column1")Next'The message box always returns data of row 1. Irrespective of the iteration. How is it possible.
-
-
-
Function for Key board entries
I would like to know how can i create a function for the Key board entries like the F1, F2, F3....., ALT+TAB, Shift+Tab, etc. and can use it as a Business or Scripted Component in QC?
-
QTP ADD Ins Funciton
What is the function of ADD Ins in QTP? (Asked in Wipro)
-
How to find out the count of open browsers by using QTP?
In my application, when we click on some links it opens a new browser. I want to know how many browsers are open at a particular time.
-
-
Record Non-standard Object in QTP
Identify the recording mode, by which you can record the non-standard object in QTPA) Standard recordingB) Analog recordingC) Low level recordingD) None
-
Multiple links testing with QTP
If there are multiple links on a web page how can we automate to open those link one by one using QTP?
-
-
-
Click Dynamically Changing Web Element
I need to click on OK button (QTP - Web element) in a popup. There are many "OK" Buttons with all same properties but with different Index. The index keeps on changing everyday & my scripts fails
How do I click on OK without using Index. There is no other property which is unique for OK in different popups through out my App
Thanks
Milind -
Name change dynamically
While trying to pass the pageName dynamically, Why the below code does not work?
Browser("Browser").Navigate linkURL
pageName = Browser("Browser").Page("micclass:=Page").GetROproperty( "title" )
Browser("Browser").Page(pageName).WebEdit("Write something...").set(msg)
Browser("Browser").Page(pageName).WebButton("Post").Click
-
-
GetTextLocation method is not working properly
I am searching a word "DR" withing a Winobjetc by using the below given code;Window("Job Console").ActivatestrFind=Window("Job Console").WinObject("WindowsForms10.Window.8.app.0.").GetTextLocation("DR",l,t,r,b)If strFind=True Then msgbox "Coordinates are:"& l & "," & t & "," & r & "," & b Window("Job Console").WinObject("WindowsForms10.Window.8.app.0.").Click (l+r)/2,(t+b)/2End IfFor search word "DR"...
-
-
-
QTP Interview Questions
Ans