Handling dialog and pop up windows
Posted: Mon Mar 12, 2012 4:09 pm
I have read through the Handling dialog and pop up windows blog and I am a little or maybe a lot confused. I am very new to programming so please bear with me. When it states that you need to create a seperate thread where is that code suppose to be entered? Currently right now I have my test project and it is broken down into segments. First being that it launches the application and logs in. Second is it runs through a recording called place_trade and it runs through a CSV file that I created from the database with fields mapped to trading symbol, portfolio and strategy. The problem I am having is say we are short on a symbol and my recording clicks the buy button when you place the trade it will pop up with an informational dialog letting you know it changed the trade to a cover. This only requires a simple click of the OK button. There are many other pop ups that may come up as well which I have all the components add to the repository. What I would like to do is if on iteration #2 a message pops up to click ok and just report on which iteration the pop up was on and then continue to the next. If there is more information needed please let me know.
Thank You,
Bryan
Thank You,
Bryan