-
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
-
Junior Member
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
-
Forum Rules