La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter
[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. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
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.