Ex : some mail name with surname Email id's there that is
string
fetch the particular surname only how to get particular
surname all emails



Ex : some mail name with surname Email id's there that is string fetch the particular surnam..

Answer / ranga

x="syam_kothuru@gmail.com"
'Plitting the string based on "@"
y=split(x,"@")
'Plitting the string based on "_"
z=split(y(0),"_")
msgbox z(1)

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

difference between recording methods and recording modes in QTP

5 Answers   Ordain Solutions,


How you calling actions in qtp?

0 Answers  


Hi,can anyone tell me How to found the number of 1's and 2's in the given format 1,1,2,2,3,3,4,2 using vbscript Thanks in advance

3 Answers  


Hi guys pls any one send me the Qtp Licensed key of version 10.0 pls

0 Answers  


What is the difference between the keyword view and expert view?

0 Answers  






In an application you have a web table. You are provided with an external Excel sheet with the same structure as that of the web table. How will you retrieve all data from the web table and compare it with corresponding data available in the excel sheet, using QTP? How will you report the results in QTP?

1 Answers  


how to recall a function in QTP?

3 Answers   Ordain Solutions,


I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.

5 Answers  


How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting

9 Answers  


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

0 Answers  


How Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?

4 Answers   Infosys,


Explain the views in the QTP GUI?

0 Answers  


Categories