-
-
-
-
-
-
How do we pass values between actions in one test other than by action call?
Say for eg, if action_1 contains a variable 'C' containing the value of a+b, how can we display the result (value of 'C') in action_2 ?
-
QTP data table question
In QTP data table, we have two excel sheets one is Global and another one is Local(Action1). If I want to enter another excel sheet in Data Table, then how will I add ?
-
How to pass a key in the query while creating a database check point?
Hi, Would be great if you could let me know how to pass a key in the query while creating a database check point? My key value is stored in a variable in the script.In short, what I want to know is:myVar='keyvalue'select * from myTable where myKey='keyvalue';Instead of specifying the query like select * from myTable where myKey='keyvalue'; in the database checkpoint, I want to use the variable myVar...
-
How to save User Defined Data in Global Data Sheet
Hi,Can I save my user defined variable value in a Data Sheet ?Dim textValuetextValue= Browser("Browser").Page("Pag1").WebEdit("WebEdit").GetROProperty("innertext")I want to save textValue in a column in Global Data Sheet. Then I want to compare this column with another column.Is that possible ?ThanksSairam
-
QTP not getting the object
QTP is not getting one of the object in our application... it is getting all other objects
-
How to count the no of web links in a web page?
How to count the no of web links in a web page?I used the following script but i am getting zero as output.plz help me out.Dim objlinksystemutil.Run"iexplore.exe","www.yahoo.com"Set objlink=description.Createobjlink("micclass").value="webLink"Set i=desktop.ChildObjects(objlink)msgbox i.countthanks in advance
-
Regular expressions for web testing
Browser("Yahoo! Mail: The best").Page("(2 unread) Yahoo! Mail").Link("Inbox (2)").Clickthis is the recorded script i get after performing the action on yahoo mail..now when i run the test again ...the page title and link name changes as the no. of emails in inbox increases...so the error says cannot find the object.can someone please tell me what regular expressions i should used for this script ?
-
Default Ordinal Identifier
Which is the Default Identifier: Index, Location, Creation Time
-
Step Generator
For what purpose step generator is used?
-
Count Number of Links
How to count number of links in a web page using QTP?
-
How to find out the regularly changing value in a single line?
How to find out the regularly changing value in a single line? Tell me How many ways are there?
Ex: India having 100 crore population now.
here 100 is changing regularly. How to write the Script for this? -
-
Dim variable1 (10) - declare the dynamic array using dim
variable1 (1) = "kumar" - store the value in array
variable1 (2) = "chandru" - store the value in array
This is the way i tried, but it show the error message like "Name redefined", Is there any possible options available for this, plz send me.">Hi i am new to VB Scripting, I have a problem to declare an array in QTP. I am using a variable to declare an array which is come in runtime.Example:Dim variable1 - declare the variable using dimvariable1 = "senthil" - assign the value which is come in run timeDim variable1 (10) - declare the dynamic array using dimvariable1 (1) = "kumar" - store the value in arrayvariable1 (2) = "chandru" - store the value in array This is the way i tried, but it show the error message like "Name redefined", Is there any possible options available for this, plz send me.
-
-
QTP Interview Questions
Ans