Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
synchronization
#1
Not Solved
Hi All,

I have a 20 line code and a data table which contains 200 entries.
how can i synchronize my code so that Qtp works properly.


Thanks and Regards,
shweta
Reply
#2
Not Solved
@Shweta,

That depends what are you trying to do. If you just want to input these values to some fields/Table in the application, you dont even require to use 20 lines of code. Just change the test run settings to run on all row.

Please let me know if i have misunderstood your query.

Regards,
Ankesh
Reply
#3
Not Solved
Hi,
What kind of issue u r facing?

Regards,
Sankalp
Reply
#4
Not Solved
Basically i want to check whether all 170 categories give proper result or not.

screen shot attached.


Attached Files Image(s)
   
Reply
#5
Not Solved
goto File->Settings->Run->Select run on all rows.

Just run the script, it will work fine.
Reply
#6
Not Solved
Hi,

U can count the number of rows in data table and use the for loop to navigate each line and verify the output as per the input record.

Let me know in case of any help required.

Regards,
Sankalp
Reply
#7
Not Solved
@sshukla12

Why to develope a code when we already have a feture in QTP for this?

Developing a code will add up development time + Execution time. I dont think tahts a gerat idea.

Regards,
Ankesh
Reply
#8
Not Solved
I have already tried this option.
goto File->Settings->Run->Select run on all rows
currently its on select run on all rows.

Its running properly till 10th row sometimes 8th row.
and then it fails or gives error.

Thanks,
Sia
Reply
#9
Not Solved
What is the error that you are receiving?

Regards,
Ankesh
Reply
#10
Not Solved
Hi Ankesh

It totally depends upon the approach u r adopting. If in each script u have taken the option to run on single row then its not a good practice to change the option in some scripts.
But totally depends upon the individual to which approach he/she is going fwd.
Hope u get the point.

Regards,
Sankalp
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Synchronization using waitproperty Nisha 1 2,339 10-29-2016, 09:20 AM
Last Post: supputuri
  Synchronization point vasanthibv@gmail.com 2 3,520 08-08-2012, 05:54 PM
Last Post: pradeep singh
  Synchronization point vasanthibv@gmail.com 2 3,150 08-07-2012, 03:26 PM
Last Post: Tarik Sheth
  synchronization point balatester 4 17,914 01-18-2012, 02:57 PM
Last Post: zeeshanyshaikh
  Issue with Synchronization Point vemunoori 3 4,001 03-31-2010, 10:34 PM
Last Post: vemunoori

Forum Jump:


Users browsing this thread: 1 Guest(s)