Sample Template - Frame work Psudo Code


Frame work psudo-code

Login:
Primary Record Processor Module:
   Verify "LoginPage" Exists. (Attempt recovery if not)
   Set focus to "LoginPage".
   Verify "UserIDTextbox" Exists. (Attempt recovery if not)
   Find "Type" of component "UserIDTextbox". (It is a Textbox)
   Call the module that processes ALL Textbox components.
Textbox Component Module:
   Validate the action keyword "VerifyValue".
   Call the Textbox.VerifyValue function.
Textbox.VerifyValue Function:
   Get the text stored in the "UserIDTextbox" Textbox.
   Compare the retrieved text to "MyUserID".
   Record our success or failure.
Site Registration:
Primary Record Processor Module:

Start Program                                               
EXEC SQL BEGIN DECLARE SECTION                                |
  DECLARE USERID FIXED CHARACTER (8)                          |
  DECLARE PW FIXED CHARACTER (8)                              |
                                                              | Application
  (other host variable declarations)                          | Setup
                                                              |
EXEC SQL END DECLARE SECTION                                  |
EXEC SQL INCLUDE SQLCA                                        |
EXEC SQL WHENEVER SQLERROR GOTO ERRCHK                        |

  (program logic)

EXEC SQL CONNECT TO database A USER :userid USING :pw         |
EXEC SQL SELECT ...                                           |
EXEC SQL INSERT ...                                           | First Unit
  (more SQL statements)                                       | of Work
EXEC SQL COMMIT                                               |

  (more program logic)

EXEC SQL CONNECT TO database B USER :userid USING :pw         |
EXEC SQL SELECT ...                                           |
EXEC SQL DELETE ...                                           | Second Unit
  (more SQL statements)                                       | of Work
EXEC SQL COMMIT                                               |

  (more program logic)

EXEC SQL CONNECT TO database A                                |
EXEC SQL SELECT ...                                           |
EXEC SQL DELETE ...                                           | Third Unit
  (more SQL statements)                                       | of Work
EXEC SQL COMMIT                                               |

  (more program logic)

EXEC SQL CONNECT RESET                                        |
ERRCHK                                                        |
                                                              | Application
  (check error information in SQLCA)                          | Cleanup
                                                              |
End Program 


14 comments:

  1. hi
    my
    Question is "How do start Selenium RC?"

    so please i need
    answer to this question

    Regards

    Anji

    ReplyDelete
  2. hi Mr anji u need to start the selenium server right.
    i will explain firest open the command prominent
    ant then give the where u put the selenium server that environment variable give and then enter
    give this spas and the give this command
    "java -jar selenium-server-version no.jar"
    click on the enter.start the selenium server

    ReplyDelete
  3. Thanks for sharing great information in your blog. Got to learn new things from your Blog . It was very nice blog to learn about Selenium

    ReplyDelete
  4. Thanks for the great information in your blog Selenium Training in Chennai

    ReplyDelete
  5. Selenium Testing Real Time Hands on Training in Chennai…

    Don’t always Depend on Training Institute alone.Please aware of Best Trainers too..

    http://thecreatingexperts.com/selenium-training-in-chennai/

    If You need a Best Trainer in Selenium Testing??? Then be ready for a DEMO From the Trainer MR.Karthick
    CONTACT:8122241286

    Both Classroom/Online Training is Available!!!!!!

    ReplyDelete
  6. Looking for best training in SELENIUM, take a glance at http://thecreatingexperts.com/selenium-training-in-chennai/

    ReplyDelete
  7. Few months back i was searching for SELENIUM training, and i attended demo session with some of the trainers in CHENNAI, but did not get a clear picture of whom to get trained with?

    Later i came across THE CREATING EXPERTS.The demo class was up-to the mark with satisfying my needs and requirements and here i got placed in a concern.

    Thanks to their in-depth hands on training with real time scenarios.For training inquiries

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact info - Mr.Karthick 8122241286

    ReplyDelete
  8. Thanks for sharing great information in your blog.

    Selenium training institute which provides Real Time Hands on Training…THE CREATING EXPERTS

    http://thecreatingexperts.com/selenium-training-in-chennai/


    contact-8122241286

    ReplyDelete
  9. Thanks for sharing this blog.Creating Experts provides Best training in selenium

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact 8122241286

    ReplyDelete
  10. THE CREATING EXPERTS is one of the leading training provider in SELENIUM they provide hands on training with real time scenario

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact +91-08122241286

    ReplyDelete
  11. SELENIUM Training in Chennai is provided by

    THE CREATING EXPERTS they provide hands on training with real time scenarios

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact 8122241286 for more info

    ReplyDelete
  12. Nice blog...

    Selenium training institute which provides Real Time Hands on Training…THE CREATING EXPERTS

    http://thecreatingexperts.com/selenium-training-in-chennai/


    contact-8122241286

    ReplyDelete
  13. SELENIUM training in Chennai by TE CREATING EXPERTS ,they provide you hands on training with real time scenarios

    http://thecreatingexperts.com/selenium-training-in-chennai/

    contact 8122241286

    ReplyDelete
  14. Hi, all nice blog for a long time i was searching for a real time trainer and landed with my trainer in selenium
    SELENIUM training is provided by THE CREATING EXPERTS in CHENNAI

    http://thecreatingexperts.com/selenium-training-in-chennai/

    Contact 8122241286 for more info

    ReplyDelete