I want to check in the data table(Globalsheet) column exist
or not through script .If column not exist only proceeded
to next step Pls tell me how to proceeded?
Answer Posted / ravi bandaru
Function isParameterExists(sheetName, paramName)
isParameterExists = FALSE
ParamTotal = DataTable.GetSheet("Global").GetParameterCount
For i = 1 To ParamTotal
value = DataTable.GetSheet("Global").GetParameter(i).Name
Msgbox value
If strComp(paramName,value)=0 Then
isParameterExists=TRUE
Exit Function
End if
Next
End Function
'Example:
If isParameterExists("Global","hh") then
msgbox "Patameter exists"
Else
msgbox "Patameter does not exist"
<Your statements>
End if
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
In qtp, explain what is crypt object
Does QTP run in any environment?
can test automation improve test effectiveness?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What is synchronization point in QTP?
How to find the length of the string in qtp?
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
How to analyzing test results using quicktest professional (qtp)?
What are table and db checkpoints?
How to save your test using quicktest professional (qtp)?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Step 3&4 are repeated until an the object in recognised uniquely.
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
Is QTP supports Unix. If yes, then how the test automation is done?