Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OTM problems: can't start from correct databank index, object timeout - OpenScript problem: no postD

marialenaJun 20 2017

Hi all,

it has been many months that I am trying to solve some OATS issues. Unfortunately, I can't raise a technical SR so my only options are the web, oats documentation and this forum.

In a summary my problems:

  • Can't make script start from index other than 1 (databank) - OTM
  • Object timeout in later iterations (object exists) - OTM
  • No postData for registration page - OpenScript

---

Everything works with OpenScript all the time for Functional Tests.

In Oracle Test Manager, I have noticed that it ignores some of the command line references I add. I have noticed that the order in which I add the properties can omit/include some of the properties.

I can never make OTM use a startIndex other than the 1st record.

In the following example, I have a test site (duckshop.scl.com/duckshop/en) in which I register a new user and buy some products. As I mentioned, OpenScript works fine.

In OTM, I add this property:

-delayPercentage 1 -iterations 3 -iterationDelay 1 -dboptions "customers":3:LOOP_FOREVER

The first three options work fine and the last one is not. Even if I have a wrong CSV file (eg not customers) it finds the file with no problem but it never starts from the index 3.

---

The second problem is that during the 2nd replay it always fails in the following step. When it finishes with the order, the next step is to click the logo to navigate to the homepage. OTM just waits in this page until it timeouts even if the button exists on the page.

Screen Shot 2017-06-19 at 16.48.27.png

Screen Shot 2017-06-20 at 10.43.16.png

---

As far as I know, I can't execute a functional test in the OLT (correct me If I am wrong), so I have created also a load test from OpenScript.

The problem with the load test in OpenScript is that there is no postData element in the recorded steps for some reason for the registration process. I have recorded it many times and I never get a postData for the registration, only for the login.

Therefore, I can't change its data and use it in OLT.

Login script:

Screen Shot 2017-06-20 at 11.18.03.png

Registration script:

Screen Shot 2017-06-20 at 11.17.58.png

---

I can't understand why this happens. I have already restarted all my services and I am running the agentmanager from the command line.

Can anyone help me with any of these issues, please?

I have attached my scripts and the databanks I have used.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2017
Added on Jun 20 2017
0 comments
165 views