Automated Testing for Oracle APEX Web Application

I am currently working on a new web application and is developing using Oracle APEX. This is basically a ten page web page style web form that is populated and submitted. In almost all cases, only three or four of these pages will be used, and another exists to provide the user with specific information about themselves.

In any case ... I am currently writing a test plan to ensure that all checks and processes are working properly, and I would like to try to automate this testing, if at all possible.

Does anyone know of any good automated testing tools (preferred open source) that I can use for this purpose? In addition, since this may be relevant, I am limited to Java and / or APEX to adapt these tools to meet my testing needs.

+3
source share
4 answers
+3
source

Cucumber with a headless driver, for example capybara-webkit . Here you can find how to do this for applications without rails such as APEX http://github.com/pshapoval/cucumber-norails

0

Selenium web driver RSPEC, - . ASP- Oracle Apex. , IDE Firefox Selenium.

ruby ​​2.0.0p481

childprocess-0.5.3.gem Diff-LCS-1.2.5.gem FFI-1.0.11.gem FFI-1.0.11-java.gem multi_json-1.10.1.gem RSpec-3.0.0.gem RSpec--3.0.4.gem RSpec--3.0.4.gem RSpec--3.0.4.gem RSpec--3.0.4.gem rubyzip-1.1.6.gem -WebDriver-2.42.0.gem

gem install selenium-webdriver --local

. .

rspec RecordAdminTests.rb

java -jar selenium-server-standalone-2.42.2.jar

, "rubygems" , "selenium-webdriver" "rspec"

"Admin ABC" do

before (: each) do @vcntPg = 20 end

before (: all) do @driver = Selenium:: WebDriver.for: firefox @wait = Selenium:: WebDriver:: Wait.new(: timeout = > 15) @driver.navigate.to "anyurl" end

(: all) do @driver.quit end            " //"                " CDE"

              @wait.until {
                  @driver.find_element(:css ,"a[href*='Home.asp?GroupId=2']")
              }

0

Source: https://habr.com/ru/post/1723364/


All Articles