Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Code for retrieving data fro EXCEL

This is a discussion on Code for retrieving data fro EXCEL within the QTP forums, part of the Software Testing category; Hi I am working on mainframe application.I know how to parametrize data from excel. My doubt is If I want to parametrize only the second part ie I want to ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 09-25-2008
Junior Member
 
Join Date: Sep 2008
Location: cbe
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cindrella is on a distinguished road
Code for retrieving data fro EXCEL

Hi

I am working on mainframe application.I know how to parametrize data from excel. My doubt is If I want to parametrize only the second part ie
I want to retieive data like
Numb 123456
In the above only I want to parametrize 12345. Numb is static.
How could I do that? I tried the following code. It says sysntax error.
Window("Browser).WinObject("object name").Type "Numb" DataTable( "NUMB",Global)

can u help me?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-26-2008
Expert Member
 
Join Date: Jan 2007
Location: India
Posts: 208
Thanks: 3
Thanked 19 Times in 19 Posts
NawabShaikh is on a distinguished road
Arrow Re: Code for retrieving data fro EXCEL

Quote:
Originally Posted by Cindrella View Post
Hi

I am working on mainframe application.I know how to parametrize data from excel. My doubt is If I want to parametrize only the second part ie
I want to retieive data like
Numb 123456
In the above only I want to parametrize 12345. Numb is static.
How could I do that? I tried the following code. It says sysntax error.
Window("Browser).WinObject("object name").Type "Numb" DataTable( "NUMB",Global)

can u help me?
Try
StrVal = "Numb" + DataTable( "NUMB",Global)

Window("Browser).WinObject("object name").Type StrVal

Regards,
Nawab
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Exforsys.com Retrieving XML Data admin Web Design 0 05-01-2008 11:41 PM
Exforsys.com Using Oracle Database for Storing, Modifying, and Retrieving XML Data admin Web Design 0 04-24-2008 10:21 PM
ODP.NET - Techniques to Improve Performance while Retrieving Data admin ASP.NET 0 04-09-2008 08:01 PM
How to pass parameters from excel sheet into an application form through qtp(code) chundikirankumar QTP 9 07-16-2007 07:33 AM
Code for getting data from excel sheet JobHelper WinRunner 0 12-20-2006 07:08 PM


All times are GMT -4. The time now is 04:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved