| Back to Questions Page |
| |
| Question |
plz give ans to this in vb script........
"krishna radha"
i want to print this string
"Radha Krishna" like this |
Rank |
Answer Posted By |
|
Question Submitted By :: Chinna |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Dim str
str = "Radha Krishna"
Msgbox (str)  |
| Amit Joshi |
| |
| |
| Answer | hello friend u carefully see the question first ok
i need to print first letter capital letter for every word
ok  |
| Chinna |
| |
| |
| Answer | str="krishna radha"
A=Split(str," ")
Fstring=A(0)
Lstring=A(1)
sLString=replace(Lstring,"r","R")
sFString=replace(Fstring,"k","K")
Rstring=sLString&" "&sFString
MsgBox Rstring
The above VB Script is exact ans for this question.  |
| Ddpras |
| |
| |
|
|
| |
| Question |
How to copy from one script to another script in qtp |
Rank |
Answer Posted By |
|
Question Submitted By :: Sudabhargavi |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Set obj=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"  |
| Jyoti |
| |
| |
| Answer | Set fso=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"
set fso = nothing  |
| Avishek [MS Solutions] |
| |
| |
| Question |
Open Yahoo Login Page
in that page Suppose i have 100 mails and i want to delete
10'th mail now give procedure & Coding For that Scenario |
Rank |
Answer Posted By |
|
Question Submitted By :: Kvasu.qa |
| This Interview Question Asked @ AppLabs , Ibm |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "ch_sumathi2004"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click
k=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,WebCheckBox,index)
k.delete  |
| Sumathi |
| |
| |
| Answer | Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "venkatraj.banka"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click
b=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,"WebCheckBox",0).Set "ON"
b.Delete  |
| Venkata Rajkumar B [Sapient Corporation] |
| |
| |
| Answer | Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "ch_sumathi2004"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click
Set k=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,"WebCheckBox",index)
k.Set "ON"
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").WebButton
("Delete").Click  |
| Ddpras [Sapient Corporation] |
| |
| |
|
| |
|
Back to Questions Page |