The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter
To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.
Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] border-color webaplication
Hi Alex, looks like you can try something along the following Jython SUT script example: node = rc.getComponent("QF-Test ID of INPUT mailCountryField") div = node.getParent().getParent() hasError = div.getAttribute("class").find("has-error") >= 0 rc.check(hasError, "<expected value True|False>", "Check has-error css class") Best regards, Greg "Straub, Alexander" <a.straub@?.de> writes: > Hallo, > > i have an problem with check the color of „border-color“ on Webaplication. > > For the check is used fort he check: qfs.web.checks.style.checkStyleAttribute. The checkt faild. > > I looked in the CSS-File and found the borderstyle. In the next step was the check with the > developer of the browser and look in witch paar it used. > > In the class „has-error“ stand the „border-color“ > > This ist the HTML code with i wount to check: > > <div ng-class="{'form-group': true, 'has-error': showValidation && > registrationForm.mailCountryField.$invalid}" class="form-group has-error"> > > <label for="mailCountryField" class="col-sm-2 control-label ng-binding">Land <span class= > "text-danger">*</span></label> > > <div class="col-sm-10"> > > <input type="text" class="form-control ng-pristine ng-invalid ng-invalid-required" id= > "mailCountryField" name="mailCountryField" placeholder="Land" ng-model= > "registration.mailAddress.country" required=""> > > <span class="text-danger ng-binding" ng-show="showValidation && > registrationForm.mailCountryField.$invalid">Bitte geben Sie ein Land ein.</span> > > </div> > > </div> > > I check check the input field and around code, but I became be all “undefined”. > > What my mistake? > > Thanks for help. > > Best regards > Alexander Straub > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://www.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.