Posts: 16
Threads: 6
Joined: Mar 2009
Reputation:
0
03-13-2009, 01:11 AM
Hi All,
I wrote my script in Expert View, and defined all objects in object repository. Script is referring the objects from Rep.
Q1: How can I use/add checkpoints in Expert View, if my script has no objects defined in Kewword View.
Q2: My scripts goes page by page, how can I test/check if one page is submitted successfully and we get the next page?
Thanks in advance.
Posts: 4
Threads: 1
Joined: Mar 2009
Reputation:
0
03-13-2009, 01:38 PM
Hi Farhanalam,
The answer for your Question number 1 :
you can't add any checkpoints in Expert View if you don't have any object on your repo..
But the solution for this case you can update your repo by using "Add Object To Local" Button on Object Repo Windows. Once you had to add the object, you can use that.
The answer for your Question number 2 :
I think we can't simply check page by page on script that we create.
But u can use debug mode to help you check page by page for your scripts.
CMIW,
Thanks And Regards,
deny.prastowo
Posts: 16
Threads: 6
Joined: Mar 2009
Reputation:
0
03-13-2009, 07:33 PM
Thanks for your response.
I have objects defined for each page. Since this test project I created using the Expert View not from Record and Play. So the Keyword View is not created by the Record/Play. In this case if I want to add a check point I need to have an object which I have in my Object Repository. But I do not understand how can I add a checkpoint if object is not shown in Keyword View. However all objects in Object Repo.
As you suggested add object in Object Repo, however I have all my objects in Repo. Assume an Edit Box named First Name is defined in Object Repositor. But when I go to Menu Insert->Checkpoint->Standard Check Point it is disabled. Because no object is selected in Keyword View. I assume that the object must be selected in Keyword View to add Standard Checkpoint. Correct or Not?
Thanks in advance to spend time for my question.
Farhan
Posts: 52
Threads: 8
Joined: Dec 2008
Reputation:
0
03-14-2009, 08:18 AM
1. Why not write your own checkpoints, this can be done very simply.
2. If you know what page will be displayed when one is submitted you should be able to write your own checkpoint based on that.
Posts: 16
Threads: 6
Joined: Mar 2009
Reputation:
0
03-16-2009, 07:22 PM
How can I write my own check point?
Posts: 16
Threads: 6
Joined: Mar 2009
Reputation:
0
03-17-2009, 05:28 PM
Thanks for your response.
When we careate a checkpoint in Keyword View it generates a syntax in Expert View Check() - Do you mean any status (example micDone or micFail) which is sent to report is basically called a checkpoiint?
Whats the diffence b/w the standard checkpoint and the checkpoint example you have provided? please explain?
Thanks
Farhan
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
03-18-2009, 12:37 PM
Hi ,
FYI , By default checkpoints will be in disable mode in the Insert menu --> checkpoints
Once we are in recording mode, then the checkpoints will activated for use in insert menu --> checkpoints .