What type of VB script u had done in expert view?
Answer / sreeprasad
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 ? | 2 Yes | 0 No |
Mention what are the different types of recording modes in qtp? Which will be used when?
How to get line numbers in your editor in expert view?
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
Explain the concept of object repository?
suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..
What are the Disadvantages of shared object repository?
Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
Explain roles and responsibilites of 2yrs Automation qtp engineer.
how to capture data from images in QTP and produce them in excel sheet?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..