Exforsys
+ Reply to Thread
Results 1 to 4 of 4

QTP help needed

This is a discussion on QTP help needed within the Software Testing forums, part of the Testing category; Hi I have five different scripts.I want to run all the scripts together.and I want to run the second script ...

  1. #1
    navitha17 is offline Junior Member Array
    Join Date
    May 2008
    Answers
    1

    Smile QTP help needed

    Hi


    I have five different scripts.I want to run all the scripts together.and I want to run the second script only when the first script is passed.

    Can anyone explain me.



    Thanks


  2. #2
    Deep333 is offline Junior Member Array
    Join Date
    Jun 2008
    Answers
    1
    Quote Originally Posted by navitha17 View Post
    Hi


    I have five different scripts.I want to run all the scripts together.and I want to run the second script only when the first script is passed.

    Can anyone explain me.



    Thanks
    Navita u need to do a Batch test Here

    And along with giving conditions


    Thanks


  3. #3
    arvindcm is offline Junior Member Array
    Join Date
    Oct 2010
    Answers
    1
    I am facing an issue when i run the following script;

    1. I have a global datatable with 17 rows and column A having values in it .
    for loop is as follows:
    dim set
    for Irow=1 to row_count(here the row_count is 17)
    datatabke.getsheet("Global"). setcurrentrow(Irow)
    set=cint(datatable.value("A","Global")
    if set =1 then
    msgbox("A has value in it")
    endif
    if set=""
    msgbox("no value")
    endif
    next

    2.when i execute the above script, it somehow reaches the 18th row and display the error

    Type mismatch: 'cint'

    Line (57): "set=cint(datatable.Value("A","Global"))

    Could someone help me plz?


  4. #4
    vl1111 is offline Junior Member Array
    Join Date
    Feb 2011
    Answers
    9
    Can anyone explain me,too


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...