I have a string "Redfort is in Delhi" how do u write
vbscript for " Delhi in is Redfort"
Answers were Sorted based on User's Feedback
Answer / dhakshna
str= "Redfort is in Delhi"
arr= split(str," ")
For i =ubound(arr) to lbound(arr) step -1
res = res&" " &arr(i)
Next
msgbox res
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / litan
x="Redfort is in Delhi"
a=split(x," ")
msgbox a(3)&" "&a(2)&" "&a(1)&" "&a(0)
just check it out..
its workin properly
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / ashish wadhwa
A="Redfort is in Delhi"
b=Split(A, " ")
For i=0 to UBound(b)
result=result&" "&b(UBound(b)-i)
result=Trim(result)
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ashish wadhwa
A="Redfort is in Delhi"
b=Split(A, " ")
For i=0 to UBound(b)
result=result&" "&b(UBound(b)-i)
Next
result=Trim(result)
Try this it will work
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you test siebel application using qtp?
does test plan is in test strategy or test strategy is in test plan.
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table
Can I import a excel sheet in Action1 datatable? How?
How to add check point?
Explain qtp(quick test professional)?
write a qtp script to verify that the business price is twice the economy price in flight reservation window
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)
If the object property is changing very frequently, what was your approach?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
10 Answers Aspire, MNC, Omega,
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.
when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.