i have string "I LIKE INDIA"..how to i get LIKE from the
sting..
Answers were Sorted based on User's Feedback
Answer / kk reddy
str="I LIKE INDIA"
var=mid(str,3,4)
msgbox var
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / ramana vanteru
I want to add some more info to KK's ans, we can use
Mid Function
Returns a specified number of characters from a string.
Mid(string, start[, length])
Arguments
str="I LIKE INDIA"
var=mid(str,3,4)
msgbox var
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / tanuj mohanty
str="I LIKE INDIA"
x=split(str," ")
print x(1)
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / rajendra nethala
str="I LIKE INDIA"
str=Split(1,str," ")
MsgBox Str(1)
| Is This Answer Correct ? | 7 Yes | 3 No |
what is Entry Criteria and Exit Criteria?
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements?
i have qtp 9.5 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com
When using descriptive programming?
Explain Different types of Checkpoints in Quick Test Professional?
Maximum synchronizing time out in QTP
Where we can use the synchronization?
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini
If I give some thousand tests to execute in two days what do you do?
write a qtp code to count the number of child objects in login page and highlight it
What are the difference between QTP and Winrunner