i am new to silktest.can anyone answer to these queries?
1.There are 2 drop downs
Second drop down value populated on the basis of first drop down values
How can we make the testcases in which we can identify the values of
second drop down on the basis of first drop down values.
2.I have three push buttons , clicking on one takes me to the other wherein i have checkboxes followed by some text.
All the three buttons are mandatory on the page.
Now my question is that if i click on only one button and finally click save it takes me to the error page saying that mandatory fields are blank.
So how do i code in my scripts that if mandatory checks are not filled then a proper message should be seen in th result file.
3 I have push button , clicking on it takes me to page where i have a some text cliking on it refreshes a page and checkboxes appears.
Now my silk test records as per my caption.Now if tommorow if text is changed the my scripts wud fail.
How can i handle the same in my scripts.
4. I have a long script just in the last couple of lines thre are some errors.I make changes to it and have to rerun the scripts all over agian.
Cant i replay my scripts from where i left i.e where it got failed.
5.I have one button that is displaying on two different screens.I have created testcase for the button on first screen. now I want that same testcase should be executed on the button from different screen.So please tell me the way or method from which I can call the existing testcases.
6.How can i create a common method and use it in my testcase.Please if you can send me some code snippet , that wud be great.
7.I have a script file containing 15 testcases. Now if run them at one go i want the results of the each and every testcase to be seen in th result file.Currently it is showing of the last one executed.
8.I have a save button with the caption "save" on it.Whenwhen i look at it thru window declaration it says caption as "ShareWithOthers".When i records it records it as save BUT when i re-run it my testcase fails.I changed in my script as "ShareWithOthers" it works fine.How is this possible.