can anyone tell me how to search a word/line in a document
and to paste it in another file?

Thanks in advance.

Answers were Sorted based on User's Feedback



can anyone tell me how to search a word/line in a document and to paste it in another file? Tha..

Answer / sailaja

Use INSTER function to find the word .and use left or right
functons to get the word and use mercury clipboard function
to paste it in the other file.


I am also new to QTP . If it is worng please let me know.


Thankyou
sailaja

Is This Answer Correct ?    0 Yes 0 No

can anyone tell me how to search a word/line in a document and to paste it in another file? Tha..

Answer / king

hi Sailaja,

your assumption is correct. i want more clarificaiton means
i want code can you provide code for the same.

i know how to find out the particular word on any word
document but how to paste that one i don't know can u
please provide the code for the same.

raju.ippali@gmail.com

Is This Answer Correct ?    0 Yes 0 No

can anyone tell me how to search a word/line in a document and to paste it in another file? Tha..

Answer / sailaja

For pasting the word in the other file we can use mercury
clipboard function. this is used to copy the word and
paste . Even i also never tried this . please try and let
me know.


Thankyou
Sailaja

Is This Answer Correct ?    0 Yes 0 No

can anyone tell me how to search a word/line in a document and to paste it in another file? Tha..

Answer / raj

use the ctrl+f to find the word and copy it with ctrl+c and
paste it with ctrl+v at where u required

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More QTP Interview Questions

How can we close all webbrowsers which are opened in out desktop?

3 Answers  


Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.

2 Answers  


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

0 Answers  


Can launch two instances of qtp on the same machine?

0 Answers  


with out object repository i need to launch IE and then navigate to a login page and then operate the objects within the page. How will be the script?

3 Answers   Ordain Solutions,






can u please explain what r the challenges u faced in ur automation testing

2 Answers   Genpact,


How to call actions in QTP?

2 Answers   Wipro,


What are private functions in QTP? How they can be called from the function library?

0 Answers   HCL,


A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.

1 Answers  


What is our exact stage involvement with QTP?

1 Answers  


HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB

2 Answers   IGT,


After geting the modules where we generate the script ie in qtp or notpad ?

1 Answers  


Categories