Hi Deepti,

you are trying to read values from datasheet (which is within qtp) right?
Correct me if I am wrong..

IF yes, here is the piece of code that I tried to send multiple sms using
way2sms, by providing the mobile number in A column and message in B column
of local sheet....


y = Datatable.GetSheet("Action1").GetRowCount
print(y)

with browser("title:=Free SMS, Send Free SMS, Se.*")
With .page("title:=Free SMS, Send Free SMS, Se.*")
.link("name:=Send SMS").Click()
With .frame("name:=frame")
For i = 1 to y
datatable.SetCurrentRow(i)
.webedit("name:=mobile").Set DataTable("A", dtLocalSheet)
  .webedit("name:=message").Set DataTable("B", dtLocalSheet)
.webbutton("name:=Send SMS").Click()
wait(5)
.webelement("innertext:=Send More SMS").Click()
wait(5)
Next

Same way you can parameterize your sendkeys method... where you just pass
the arguments related to datasheet...

Hope this helps and I am helpfull

With Regards ,
Satish Kadali,


*Note: Please excuse any typos

On Wed, May 27, 2015 at 7:53 PM, blessy deepti <[email protected]>
wrote:

> Hi All,
>
> I want to parameterise the send keys method to pass the vakue from
> datasheet.Kindly help.
>
> Thanks,
> Blessy.
> On 31 Jan 2014 17:22, "Balu" <[email protected]> wrote:
>
>> Hi Biswajit,
>>
>> Thank you for such wonderfull document,
>> It would be of great help -
>> In the above document, could you please repost it with the code for
>> "Startup Script" ?
>>
>> Do you have any updated framework code ?
>>
>>
>> thank you so much
>>
>>
>>
>>
>> On Friday, July 9, 2010 12:13:55 PM UTC+5:30, Amit Rathi wrote:
>>>
>>> Hi Biswajit
>>>
>>> I am sending you an attachment, it will give you an clear idea about
>>> keyword driven framework, from theory to scripting and how to arrange them.
>>> if any problem, post here
>>>
>>> On Thu, Jul 8, 2010 at 11:19 PM, Biswajit Agarwal <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> can somebody please share the code of the framework. It will be a gr8
>>>> healp.
>>>>
>>>> Thanks
>>>> Biswajit
>>>>
>>>>
>>>> On Sat, Jul 3, 2010 at 1:30 AM, arihan sinha <[email protected]>
>>>> wrote:
>>>>
>>>>> Thanks but I already have this and this demonstrates theoratical
>>>>> concept of key word driven framework. but if you have actual code for each
>>>>> section then it would be great.
>>>>>
>>>>> Cheers
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 2, 2010 at 7:41 PM, Ganesh muralidharan <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> Attaching a doc shared by our group member.
>>>>>>
>>>>>>   On Fri, Jul 2, 2010 at 1:04 PM, arihan sinha <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>>  Dear All,
>>>>>>>
>>>>>>> Can anyone copy+ paste the sample code/screenshot of each section
>>>>>>> please as it would be very easy to understand while looking to the code
>>>>>>> rather than theoratical concept.
>>>>>>>  A) Function Library ( common.vbs, app.vbs)
>>>>>>> B) Object Repository
>>>>>>> C) Database
>>>>>>> D) Application Scenario Files
>>>>>>> E) Initialization VBScript
>>>>>>> F) Sequence File
>>>>>>> G) Driver Script
>>>>>>> H) Test Case List File
>>>>>>>
>>>>>>> Regards
>>>>>>> Arihan
>>>>>>>
>>>>>>> --
>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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
>>>> "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
>> "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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to