What type of VB script u had done in expert view?
Answer / debashish_samanta
In Expert view we can use the VB keyword for scripting like
Function:
1.Mid Returns a specified number of characters from a
string.
2.Strcom Returns a value indicating the result of a string
comparison.
3.Instr Returns the position of the first occurrence of one
string within another.
4.Isdate Returns a Boolean value indicating whether an
expression can be converted to a date.
so many functions are there that you can use in the expert
view.
| Is This Answer Correct ? | 1 Yes | 0 No |
dears, I have one question for QTP.If my software is english and defined objects is english name. But, if my software has support MUI, under this case that my objects in the QTP can't work, because the QTP can't catch the objects name. In this case, is anybody know how to solve this problem? Thanks a lot.
How QTP recognize the object??how to add objcts into object repository??
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
How to use the object spy in quicktest professional 8.0 version?
How to analyzing the checpoint results?
When do go for loop condition in test?
what is qtp automation framework, what is the purpose of the framework and which folders included in this framework pls tell me with brief description
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
how would you go for testing a web application like any jobsite?(using manual n qtp)..pls frnds its very urgent ..i need realtime answers...thanks in advance
write a script for get the following result: username password frm the string1="A=username" string2="B=password"
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
i have data in excel sheet.i imported the data in data table.while doing parameterization,how the code knows it is a valid or invalid data?