hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?
Answer Posted / mahesh_sqa
Exact Answare Replay me if possible on no1lmahesh@krify.com
var="raju want married"
var1=InStr(1,var,"want")
MsgBox var1
var2=Mid(var,var1)
MsgBox var2
var3=Left(var1,4)
MsgBox var3
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
what type of run time errors you get while you ar edoing rpg program?
How many tabs are available in debug viewer pane?
What is the extension of the qtp local repository?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
How many lines of code in each script of QTP?
1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible
What is action? How many types of actions are there in qtp?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
In qtp, explain what is crypt object
assume i have few url link how will i dynamically call then using descriptive programming?
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How qtp recognizes the object?
Is it possible to switch between recording modes during a test creation?