How we can add actions in the test using QTP?

Answer Posted / thangaraj

Set NewAction = qtApp.Test.AddNewAction(ActionName,
ActionDescr, ActionContent, False, qtAtBegining)

Is not working. Please let me know the exact code for
creating a new action. Thanks in advance

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework

1606


how do u plan test automation?

1443


How to get the particular property value?

612


what are the mandatory properties for a tex boxc (scenario?)

1528


How qtp identifies objects?

570






What is an optional step in qtp ?

634


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1726


What is the diff between image and bitmap check point?

597


Define object spy ?

559


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

3274


what is the difference between development and testing

2379


What is the extension of qtp local repository?

572


Where you are storing your script?

633


Explain about business process component? types and usage?

1564


How to find a window is minimized or not

1445