Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the file extension of the code file and object repository file in QTP?

1103


What is the diff between image and bitmap check point?

1044


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1938


How many types of recording modes in the qtp?

1100


How to modify the text checkpoint?

1117


In qtp, explain what is qrs file?

1062


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2699


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

1212


Explain more about the Test Fusion Report of QTP?

1032


What is a programmatic description?

1113


Explain the new feature of UFT regarding the export of test results?

1029


Suggest and Define a solution for an application whose objects are not recognized by UFT?

1101


Explain measuring transaction.

1046


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4600


What is the qtp testing process?

1046