What is the difference between action & script?
Answers were Sorted based on User's Feedback
Answer / tharu
As far as script is concerned with QTP it is vbscript.
Since there are lengthy scripts we are splitting the flow
as actions and name it.In actions we can call to other
actions also.splitting scripts for clear understanding we
go for actions
| Is This Answer Correct ? | 3 Yes | 0 No |
A script can have multiple actions.
A script is a test case which have multiple actions.
For an example, for an functional testing you can single
action which can be considered as a script
For integration testing you can add multiple actions which
is also considered together as a script
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / raghu
a set of statements that executes a script ia called an
action..
Script is a statement that defines an action...
| Is This Answer Correct ? | 4 Yes | 3 No |
In a webtable,a list of values are there,rightnow one values shows,later random another values shows,but how to retrieve the random value in webtable.
what is On Error Resume Next ?
QTP in mumbai
hi, In A Table there are some columns and dynamic rows and in each row in first column there is a link with name. upon clicking on that link it will show some details. write the vbscript to check that link without descriptive programming?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
how do you remove object repository at runtime and load object repository and verify it
hai friends i already ask this question but when i post the question the alignment goes wrong .....my question is we have a WEB TABLE ....assume that web table having 3 row's and 3 column here in 2nd row 3rd column having VISIT FACEBOOK link...now i want to check the VISIT FACEBOOK link is available or not ..if it's there i want to click the link ...then how to find the web table row or column count ....don't write the excel or data table script here friends .....consider that it's a WEB TABLE do a favour ...thank's
What is an environment variable?
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?
I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.
How can I change object description or check point values in qtp?
how to test Web application using QTP software