Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
clarification on datatable-read next
#1
Not Solved
QTP10
XP
IE8
this is a question of 'WHY' is it performing like this. I stated it in an ealier thread; but never understood.

Here is my current test:
Action1
Code:
Browser("Login").Page("My company").Check CheckPoint("My company_6")
Browser("Login").Page("My company").Link("Images").Click
Browser("Login").Page("My company_4").Check CheckPoint("My company_7")
Browser("Login").Page("My company_4").WebEdit("ctl00$cContent$Right$txtPro").Set DataTable("A", dtGlobalSheet)
Browser("Login").Page("My company_4").WebButton("Submit").Click
Browser("Login").Page("My company_4").Check CheckPoint("My company_8")
Browser("Login").Page("My company_4").WebButton("Back to Imaging").Click



Action2
Code:
Browser("My company").Page("My company").Check CheckPoint("My company")
Browser("My company").Page("My company").Link("Track").Click
Browser("My company").Page("My company_2").Check CheckPoint("My company_2")
Browser("My company").Page("My company_2").WebEdit("ctl00$cContent$Right$tbRow0").Set DataTable("B", dtGlobalSheet)
Browser("My company").Page("My company_2").WebButton("Submit").Click
Browser("My company").Page("My company_2").Check CheckPoint("My company_3")
Browser("My company").Page("My company_2").WebButton("Clear").Click

The program comes to the 'images screen'
inputs the first entry from the global tableA
'submits it-
then returns to "my company_6 or _7
proceeds to "track"
and takes the same pro (as the two table are identical)
submits
and returns back to 'MY company'
then 'images
where row two of table is used.

Question: Is this suppose to happen (Im new at this) or is there a change I need to make somewhere, where the ACTION1 will complete BEFORE the next action2 is started?
Reply


Messages In This Thread
clarification on datatable-read next - by cocojava - 10-16-2010, 01:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,309 07-10-2017, 04:20 PM
Last Post: rajeevk7
  Automation clarification sudheerah 0 1,542 09-27-2012, 04:23 PM
Last Post: sudheerah
  Datatable add and datatable import sheet wheelercha 4 33,624 06-14-2012, 04:53 PM
Last Post: Arul
  Correct syntax for read and load global datatable from Resources tab in QC to QTP hari1024 1 5,278 12-08-2011, 10:43 AM
Last Post: sshukla12
  Read next datatable rather than login again cocojava 7 4,389 11-05-2010, 01:41 AM
Last Post: cocojava

Forum Jump:


Users browsing this thread: 1 Guest(s)