tmp15

Upload: skrishatguru

Post on 14-Apr-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 tmp15

    1/390

    Automation Test Demo

    Prepared by Ritesh Prasad Saw for Guru.com

  • 7/27/2019 tmp15

    2/390

    Automation of stable modules

    Automation is the process by which generally we automate the manual actionsperformed on an application.

    As we are more inclined to automate those modules of the application which arestable.

    Unstable builds are not the right candidates for automation because of its very natureof frequent changes.

    Automation of Guru Application using open source but very powerful automation tool :Selenium (Current build version: 2.25.0)

    Programming languages supported by Selenium: Java, Python, C# and Ruby

    Browsers supported by Selenium:Google Chrome 12.0.712.0+

    Internet Explorer 6, 7, 8, 9 - 32 and 64-bit where applicable

    Firefox 3.0, 3.5, 3.6, 4.0, 5.0, 6, 7 to 15Opera 11.5+

    HtmlUnit 2.9

    Android 2.3+ for phones and tablets (devices & emulators)

    iOS 3+ for phones (devices & emulators) and 3.2+ for tablets (devices & emulators)

  • 7/27/2019 tmp15

    3/390

    Supported platforms: Windows, Linux and MAC

    Selenium build used to automate our Guru Application:Selenium 2.0 (WebDriver- an interface used to instantiate the browser and

    operations performed on it)

    Selenium client driver for Java consists of APIs and JAR files.

    Guru Application

    Selenium

    Script inEclipse

  • 7/27/2019 tmp15

    4/390

    Selenium WebDriver with Java as

    scripting language Selenium WebDriver provides different capabilities to automate our Guru

    application e.g. WebElement identification via ID, Name, Class, xpath, CSSLocator,

    DOM etc.

    In our scripting of Guru Application we are using Java as a programming language.

    We can use the all the powerful features of java to automate our sites e.g.

    Listeners, Action API, Java Utilities etc.

    Eclipse is the editor where we write our script and run the script.

  • 7/27/2019 tmp15

    5/390

    TestNG (Testing framework,

    annotations, assertions ) TestNG is a testing framework inspired from JUnit and NUnit but introducing some

    new functionalities that make it more powerful and easier to use, such as:

    Annotations.

    Run your tests in arbitrarily big thread pools (all methods in their own thread, one

    thread per test class, etc...).

    Annotations are used to create a unit framework for a test and with the help of it

    we can divide entire script in independently working individual units.

    Assertions are as checkpoints to validate web elements properties.

  • 7/27/2019 tmp15

    6/390

  • 7/27/2019 tmp15

    7/390

  • 7/27/2019 tmp15

    8/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    9/390

    Conclusion

    Although we have certain limitation with Selenium but its powerful enough to

    automate web application e.g. Guru.com

    We have certain challenges ahead e.g. automating attachment pop up, running in

    a grid.

    Queries/Suggestions/Feedback are welcome

    - Ritesh

  • 7/27/2019 tmp15

    10/390

  • 7/27/2019 tmp15

    11/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    12/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    13/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    14/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    15/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    16/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    17/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    18/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    19/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    20/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    21/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    22/390

  • 7/27/2019 tmp15

    23/390

  • 7/27/2019 tmp15

    24/390

  • 7/27/2019 tmp15

    25/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    26/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    27/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    28/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of a

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    29/390

  • 7/27/2019 tmp15

    30/390

  • 7/27/2019 tmp15

    31/390

  • 7/27/2019 tmp15

    32/390

  • 7/27/2019 tmp15

    33/390

  • 7/27/2019 tmp15

    34/390

  • 7/27/2019 tmp15

    35/390

  • 7/27/2019 tmp15

    36/390

  • 7/27/2019 tmp15

    37/390

  • 7/27/2019 tmp15

    38/390

  • 7/27/2019 tmp15

    39/390

  • 7/27/2019 tmp15

    40/390

  • 7/27/2019 tmp15

    41/390

  • 7/27/2019 tmp15

    42/390

  • 7/27/2019 tmp15

    43/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    44/390

  • 7/27/2019 tmp15

    45/390

  • 7/27/2019 tmp15

    46/390

  • 7/27/2019 tmp15

    47/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    48/390

  • 7/27/2019 tmp15

    49/390

  • 7/27/2019 tmp15

    50/390

  • 7/27/2019 tmp15

    51/390

  • 7/27/2019 tmp15

    52/390

  • 7/27/2019 tmp15

    53/390

  • 7/27/2019 tmp15

    54/390

  • 7/27/2019 tmp15

    55/390

  • 7/27/2019 tmp15

    56/390

  • 7/27/2019 tmp15

    57/390

  • 7/27/2019 tmp15

    58/390

  • 7/27/2019 tmp15

    59/390

  • 7/27/2019 tmp15

    60/390

  • 7/27/2019 tmp15

    61/390

  • 7/27/2019 tmp15

    62/390

  • 7/27/2019 tmp15

    63/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    64/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    65/390

  • 7/27/2019 tmp15

    66/390

  • 7/27/2019 tmp15

    67/390

  • 7/27/2019 tmp15

    68/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    69/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    70/390

  • 7/27/2019 tmp15

    71/390

  • 7/27/2019 tmp15

    72/390

  • 7/27/2019 tmp15

    73/390

  • 7/27/2019 tmp15

    74/390

  • 7/27/2019 tmp15

    75/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    76/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time Ihave created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    77/390

  • 7/27/2019 tmp15

    78/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    79/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project. testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    80/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    81/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project. testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    82/390

  • 7/27/2019 tmp15

    83/390

  • 7/27/2019 tmp15

    84/390

  • 7/27/2019 tmp15

    85/390

  • 7/27/2019 tmp15

    86/390

  • 7/27/2019 tmp15

    87/390

  • 7/27/2019 tmp15

    88/390

  • 7/27/2019 tmp15

    89/390

  • 7/27/2019 tmp15

    90/390

  • 7/27/2019 tmp15

    91/390

  • 7/27/2019 tmp15

    92/390

  • 7/27/2019 tmp15

    93/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    94/390

    g

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    95/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    96/390

    g

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

  • 7/27/2019 tmp15

    97/390

    g

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    98/390

  • 7/27/2019 tmp15

    99/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    100/390

    g

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    101/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    102/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    103/390

  • 7/27/2019 tmp15

    104/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    105/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project. testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    106/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    107/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project. testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    108/390

  • 7/27/2019 tmp15

    109/390

  • 7/27/2019 tmp15

    110/390

    Discussion of integrated modules

  • 7/27/2019 tmp15

    111/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project. testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

  • 7/27/2019 tmp15

    112/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project. testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    113/390

  • 7/27/2019 tmp15

    114/390

  • 7/27/2019 tmp15

    115/390

  • 7/27/2019 tmp15

    116/390

  • 7/27/2019 tmp15

    117/390

    Automation Test Demo

    Prepared by Ritesh Prasad Saw for Guru.com

    Automation of stable modules

  • 7/27/2019 tmp15

    118/390

    Automation of stable modules

    Automation is the process by which generally we automate the manual actionsperformed on an application.

    As we are more inclined to automate those modules of the application which arestable.

    Unstable builds are not the right candidates for automation because of its very natureof frequent changes.

    Automation of Guru Application using open source but very powerful automation tool :Selenium (Current build version: 2.25.0)

    Programming languages supported by Selenium: Java, Python, C# and Ruby

    Browsers supported by Selenium:Google Chrome 12.0.712.0+

    Internet Explorer 6, 7, 8, 9 - 32 and 64-bit where applicable

    Firefox 3.0, 3.5, 3.6, 4.0, 5.0, 6, 7 to 15

    Opera 11.5+HtmlUnit 2.9

    Android 2.3+ for phones and tablets (devices & emulators)

    iOS 3+ for phones (devices & emulators) and 3.2+ for tablets (devices & emulators)

  • 7/27/2019 tmp15

    119/390

  • 7/27/2019 tmp15

    120/390

  • 7/27/2019 tmp15

    121/390

  • 7/27/2019 tmp15

    122/390

  • 7/27/2019 tmp15

    123/390

  • 7/27/2019 tmp15

    124/390

  • 7/27/2019 tmp15

    125/390

  • 7/27/2019 tmp15

    126/390

  • 7/27/2019 tmp15

    127/390

    Selenium WebDriver with Java as

    scripting language

  • 7/27/2019 tmp15

    128/390

    scripting language

    Selenium WebDriver provides different capabilities to automate our Guruapplication e.g. WebElement identification via ID, Name, Class, xpath, CSSLocator,

    DOM etc.

    In our scripting of Guru Application we are using Java as a programming language.

    We can use the all the powerful features of java to automate our sites e.g.

    Listeners, Action API, Java Utilities etc.

    Eclipse is the editor where we write our script and run the script.

  • 7/27/2019 tmp15

    129/390

    Automation Test Demo

    Prepared by Ritesh Prasad Saw for Guru.com

  • 7/27/2019 tmp15

    130/390

  • 7/27/2019 tmp15

    131/390

    Selenium WebDriver with Java as

    scripting language

  • 7/27/2019 tmp15

    132/390

    scripting language

    Selenium WebDriver provides different capabilities to automate our Guruapplication e.g. WebElement identification via ID, Name, Class, xpath, CSSLocator,

    DOM etc.

    In our scripting of Guru Application we are using Java as a programming language.

    We can use the all the powerful features of java to automate our sites e.g.

    Listeners, Action API, Java Utilities etc.

    Eclipse is the editor where we write our script and run the script.

  • 7/27/2019 tmp15

    133/390

    Automation Test Demo

    Prepared by Ritesh Prasad Saw for Guru.com

    Automation of stable modules

  • 7/27/2019 tmp15

    134/390

    Automation is the process by which generally we automate the manual actionsperformed on an application.

    As we are more inclined to automate those modules of the application which arestable.

    Unstable builds are not the right candidates for automation because of its very natureof frequent changes.

    Automation of Guru Application using open source but very powerful automation tool :

    Selenium (Current build version: 2.25.0)

    Programming languages supported by Selenium: Java, Python, C# and Ruby

    Browsers supported by Selenium:Google Chrome 12.0.712.0+

    Internet Explorer 6, 7, 8, 9 - 32 and 64-bit where applicable

    Firefox 3.0, 3.5, 3.6, 4.0, 5.0, 6, 7 to 15

    Opera 11.5+HtmlUnit 2.9

    Android 2.3+ for phones and tablets (devices & emulators)

    iOS 3+ for phones (devices & emulators) and 3.2+ for tablets (devices & emulators)

  • 7/27/2019 tmp15

    135/390

    Selenium WebDriver with Java as

    scripting language

  • 7/27/2019 tmp15

    136/390

    scripting language

    Selenium WebDriver provides different capabilities to automate our Guruapplication e.g. WebElement identification via ID, Name, Class, xpath, CSSLocator,

    DOM etc.

    In our scripting of Guru Application we are using Java as a programming language.

    We can use the all the powerful features of java to automate our sites e.g.

    Listeners, Action API, Java Utilities etc.

    Eclipse is the editor where we write our script and run the script.

  • 7/27/2019 tmp15

    137/390

  • 7/27/2019 tmp15

    138/390

    XML files

  • 7/27/2019 tmp15

    139/390

    XML files

    XML files are generally used to build, compile and run the script using ANT from

    command prompt.

    XML files help to run the tests in a batch.

    We can also create an exe of the entire script and then run the script by double

    clicking the batch icon.

    XML files provides a way to run the script in multiple platforms such as Linus, Mac

    and Windows from command prompt with the help of ANT tool.

    XML files helps to configure the entire tests in well organized way.

  • 7/27/2019 tmp15

    140/390

    Conclusion

  • 7/27/2019 tmp15

    141/390

    Although we have certain limitation with Selenium but its powerful enough to

    automate web application e.g. Guru.com

    We have certain challenges ahead e.g. automating attachment pop up, running in

    a grid.

    Queries/Suggestions/Feedback are welcome

    - Ritesh

  • 7/27/2019 tmp15

    142/390

  • 7/27/2019 tmp15

    143/390

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    144/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    145/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    146/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    147/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    148/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    149/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    150/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    151/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    152/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    153/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration Post Project Approve

  • 7/27/2019 tmp15

    154/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    155/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    156/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    157/390

  • 7/27/2019 tmp15

    158/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    159/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    160/390

    (Registration, Post Project, Approve

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    161/390

  • 7/27/2019 tmp15

    162/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    163/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    164/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    165/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    166/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    167/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    168/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    169/390

    ( g , j , pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    170/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    171/390

    ( g j pp

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    172/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    173/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    174/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    175/390

  • 7/27/2019 tmp15

    176/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    177/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    178/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    179/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    180/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    181/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    182/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    183/390

  • 7/27/2019 tmp15

    184/390

  • 7/27/2019 tmp15

    185/390

  • 7/27/2019 tmp15

    186/390

  • 7/27/2019 tmp15

    187/390

  • 7/27/2019 tmp15

    188/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    189/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    190/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    191/390

    Project, Search and view PD page of aproject)

    Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    192/390

  • 7/27/2019 tmp15

    193/390

  • 7/27/2019 tmp15

    194/390

  • 7/27/2019 tmp15

    195/390

  • 7/27/2019 tmp15

    196/390

  • 7/27/2019 tmp15

    197/390

  • 7/27/2019 tmp15

    198/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    199/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    200/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    201/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function. CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    202/390

  • 7/27/2019 tmp15

    203/390

  • 7/27/2019 tmp15

    204/390

  • 7/27/2019 tmp15

    205/390

  • 7/27/2019 tmp15

    206/390

  • 7/27/2019 tmp15

    207/390

  • 7/27/2019 tmp15

    208/390

  • 7/27/2019 tmp15

    209/390

  • 7/27/2019 tmp15

    210/390

    Discussion of integrated modules

    (Registration, Post Project, Approve

  • 7/27/2019 tmp15

    211/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    212/390

  • 7/27/2019 tmp15

    213/390

  • 7/27/2019 tmp15

    214/390

  • 7/27/2019 tmp15

    215/390

  • 7/27/2019 tmp15

    216/390

  • 7/27/2019 tmp15

    217/390

  • 7/27/2019 tmp15

    218/390

  • 7/27/2019 tmp15

    219/390

  • 7/27/2019 tmp15

    220/390

    Discussion of integrated modules(Registration, Post Project, Approve

  • 7/27/2019 tmp15

    221/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer.

    testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    222/390

    Discussion of integrated modules(Registration, Post Project, Approve

  • 7/27/2019 tmp15

    223/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer. testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

    Discussion of integrated modules(Registration, Post Project, Approve

  • 7/27/2019 tmp15

    224/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer. testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    225/390

  • 7/27/2019 tmp15

    226/390

  • 7/27/2019 tmp15

    227/390

  • 7/27/2019 tmp15

    228/390

  • 7/27/2019 tmp15

    229/390

  • 7/27/2019 tmp15

    230/390

  • 7/27/2019 tmp15

    231/390

    Discussion of integrated modules(Registration, Post Project, Approve

  • 7/27/2019 tmp15

    232/390

    Project, Search and view PD page of aproject) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted by Employer. testuSubmitProposalOnProject()- Created by me. Initial script for redirecting control to

    PD page.

  • 7/27/2019 tmp15

    233/390

  • 7/27/2019 tmp15

    234/390

    Discussion of integrated modules(Registration, Post Project, Approve

    Project, Search and view PD page of a

  • 7/27/2019 tmp15

    235/390

    j , p g

    project) Registration()- Created by me. In this module I have created scripts to automate first

    step of registration covering initial registration. To provide unique value each time I

    have created RamdomNumberGenerator function.

    CreateIdentityOfUser()- Created by me. This is script for creating identity information

    for the second step of registration. Also used RamdomNumberGenerator function.

    AddLocationOfUser()- Created by me. This is script for adding information for the third

    step of registration. Also used RamdomNumberGenerator function.

    PostProject.EmployerPostProject()- Created by me and Devesh. To post a project.

    testsAdminProjectApprove()- Created by me. To approve projects posted b