Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is Local sheet different from Global sheet in DataTable...
#4
Solved: 11 Years, 4 Months ago
sample flight application (only login part)

Code:
invokeapplication "D:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"




Dialog("Login").WinEdit("Agent Name:").Set DataTable("AgentName", dtLocalSheet)
Dialog("Login").WinEdit("Agent Name:").Type  micTab
Dialog("Login").WinEdit("Password:").Set DataTable("Password", dtLocalSheet)
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").Close




with some data in the Action sheet of data table
like

AgentName Password
Agent1 mercury
Agent2 mercury
Agent3 mercury

This works for Global sheet and behaves different for Action sheet.


Thank you Ankur
Goldy
Reply


Messages In This Thread
RE: Is Local sheet different from Global sheet in DataTable... - by Goldy - 10-07-2008, 01:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,640 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 965 09-11-2019, 02:52 PM
Last Post: siddharth1609
  Reading data from excel sheet serenediva 1 9,621 03-03-2017, 10:07 AM
Last Post: vinod123
Question QTP not performing iterations based on local data sheet Breaker 18 56,762 01-25-2016, 04:32 PM
Last Post: arunshuklainbox
  Local System Monitor kbhargava505 0 2,526 10-16-2015, 12:52 PM
Last Post: kbhargava505

Forum Jump:


Users browsing this thread: 2 Guest(s)