Use xpath to fetch all the inputs having * in the text before them.

On 3 Jul 2017 12:32 a.m., <[email protected]> wrote:

> Hi All,
>
> I´m trying to run a validations for Mandatory and
>  the same has Red asterisks .I would like to perform a test that check
> that validates if
> "* XXXX" fields has a red asterisk (meaning that is mandatory
> Please take in count that since the Mandatory
> fields are dynamic, they are not te same object, for example the
> systems displays "* Field Name", when i want to add the object to the
> repository i get one WebElement for the "*" and another one for "Field
> Name", there must be somehow to link both objects and tell QTP to
> perform something like "If "Field Name" has red asterisk this means
> that is a mandatory field, like that get all mandatory fields compare with
> the expected mandatory fields(from config or excel) and try to enter data
> all fields except one field and try to submit check the error message need
> to repeat this for all mandatory fields.
>
> Your answers will be really appreciated!!!
>
> Best Regards,
>
> Srini
>
> --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to