closed as unclear what you're asking by Bruce McLeod♦Aug 6 '13 at 11:02

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
If this question can be reworded to fit the rules in the help center, please edit the question.

Will you please elaborate the error or situation so that answering that will be easier. Thanks.
–
talktoketsJul 15 '13 at 9:37

For first I am agree with Talktokets answer.. For safety, you can use waitForElementPresent.

For second, yes you can use the exported java code. For beginners it will be fruitfull. After sometime, you can learn to edit/modify these codes according to your use, and then you can write such codes by your own efficiently.