We dont need to add parameters before importing so try running after
commenting Datatable.getsheet("student").addparameter "stdname","" stmts


On Sat, May 25, 2013 at 9:01 AM, <[email protected]> wrote:

> **
> Datatable.import "file"
>
> Does it import all the sheets to datatable. Which datasheet should it
> refer. Global or local. Do you need to have the col name in the datatable
> same as in xls file. Can you please explain in detail.
> Sent from BlackBerry® on Airtel
> ------------------------------
> *From: * Ganesh muralidharan <[email protected]>
> *Sender: * [email protected]
> *Date: *Sat, 25 May 2013 09:13:51 -0500
> *To: *mercuryqtp<[email protected]>
> *ReplyTo: * [email protected]
> *Subject: *Re: Importing xl sheet to datatable not working
>
> this seems to be a file issue
>
>
> On Sat, May 25, 2013 at 7:54 AM, <[email protected]> wrote:
>
>> **
>> Working on qtp 11. Initially I tried xlsx . It said invalid file.
>>
>> I have a. xls file name student containing a sheet student.
>>
>> The sheet have three cols with data.
>>
>> Qtp script have an action name student .
>>
>> Datatable.getsheet("student").addparameter "stdname",""
>> Datatable.getsheet("student").addparameter "stdage",""
>>
>> Datatable.getsheet("student").addparameter "stdaddress",""
>>
>> Datatable.importsheet "path of the file", "student", "student"
>>
>> Error - a general error occured while importing sheet student from file :
>> "file path "
>> Sent from BlackBerry® on Airtel
>> ------------------------------
>> *From: * Ganesh muralidharan <[email protected]>
>> *Sender: * [email protected]
>> *Date: *Sat, 25 May 2013 08:46:46 -0500
>> *To: *mercuryqtp<[email protected]>
>> *ReplyTo: * [email protected]
>> *Subject: *Re: Importing xl sheet to datatable not working
>>
>> are you importing a .xls file or a .xlsx file?
>>
>>
>> On Sat, May 25, 2013 at 7:47 AM, <[email protected]> wrote:
>>
>>> Saying a general error ...
>>> Sent from BlackBerry® on Airtel
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/MercuryQTP?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> Ganesh Muralidharan
>> 'God Never Forgets'
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Regards,
>
>
> Ganesh Muralidharan
> 'God Never Forgets'
>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Regards,


Ganesh Muralidharan
'God Never Forgets'

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to