how to recall a function in QTP?

Answer Posted / pooja

to call a function...
in script u can write the function name as

login()

if there is any argument has to be passed then,

login(username, password)

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which functionalities of QTP used in banking project? pls any say answer?

1636


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3565


What is the registration process and examination fees?

751


can test automation improve test effectiveness?

1702


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

1987


How to handle the exceptions using the recovery scenario manager in qtp?

762


what is supply chain management?

2323


What is the use of text output value in quicktest professional?

699


write script for bitmap image?

1763


Explain the concept of how quicktest professional identifies object?

721


how interviews will be on QTP?

1698


who QTP recognizes the object stored in object repository?

1855


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1785


Which recording modes need more memory?

800


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3519