Results 1 to 2 of 2

Thread: How do you define a class in Silk test

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Geek_Guest
    Guest

    How do you define a class in Silk test

    How do you define a class in Silk test?
    How do you declare it?
    Is there any menu function in silktest to invoke a class?
    Please answer all the above questions.
    Its urgent

    Question asked by visitor aparnay


  2. #2
    Junior Member
    Join Date
    Oct 2008
    Answers
    2

    Re: How do you define a class in Silk test

    winclass : classname(useridentifier)

    ex:[+] winclass HtmlPushButton : HtmlPushButton
    [ ]
    [+] void Click(int i optional,int j optional,int k optional)
    [+] if (!WaitTillNotExist (this, Agent.GetOption (OPT_APPREADY_TIMEOUT)))
    [ ] RaiseError (E_CANT_EXIT_APP, "Application cannot be exited")
    [+] else
    [ ] derived::Click()
    [ ]
    [+] boolean bexists()
    [+] if (! WaitTillNotExist (this, Agent.GetOption (OPT_APPREADY_TIMEOUT)))
    [ ] RaiseError (E_CANT_EXIT_APP, "Application cannot be exited")
    [+] else
    [ ] return derived::Exists()
    [ ]
    [ ]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact