Hi all,Please help me out in this issue. I created an action and imported a sheet to the global datatable.From the first action itself I am calling an external action.In that external action,I tried to import another datatsheet(xl sheet) using the importSheet command to a local datatable space of an action.But QTP stops at this command and says " datatable does not exist" and it shows the previous datasheet that we imported in the first action to the global sheet.How can we use 2 datasheet at a time ? I understand the sheet we imports to global will be visible through out the test. Can we import another datasheet to the test (to the local sheet) and switch between the sheets ?Someone please help me out .Thanks,Ajoy

Showing Answers 1 - 3 of 3 Answers

sai

  • Aug 3rd, 2006
 

Hi,

Delete the Runtime data sheet before calling external action or after entering into the new action. import new excel sheet or whn u come back import previous excel sheet.

this works...

  Was this answer useful?  Yes

Hello,Which function are you using for importing sheet to Global datatable?Try using importsheet function to import a datasheet to global table insteadof import function if you are using this.-Lingaraj

  Was this answer useful?  Yes

Debashish Samanta

  • Dec 5th, 2006
 

why dont you use

DataTable.addsheet("Sheet_Name")

For Both the actions ,i:e Local and External...

I Hope this will work..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions