-
-
-
-
-
-
-
-
-
-
-
-
-
-
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 ?
QTP Interview Questions
Ans