Hi QTP Tutorialnet,

After Selecting the Color from the Web list I am entering the value in
another Webedit box and then I am clicking on "Save" button so while saving
my application throws an error i.e. Color is not selected.

I think you can understand my problem.

Thanks
Aneel




On Wed, Jan 15, 2014 at 8:52 AM, QTP Tutorialnet
<[email protected]>wrote:

> Hello,
>
> First, You do not need to use the Frame object in your code. It's just a
> hassle to identify. You will be fine doing this...
> browser().page().webtable, save yourself the time. Second, I think I
> understand your problem.  So you are saying that you are able to select,
> but it is not displaying, right? But can I ask, why do you want it to
> display? What is your ultimate goal? I think this will help us to
> understand so we can come up with a solution.
>
>
> On Tue, Jan 14, 2014 at 8:51 PM, Kishor Kumar <[email protected]>wrote:
>
>> @Aneel,
>>  can you post the innerhtml and outerhtml code and why specifically your
>> are =verifying "SELECTION" propertry, why cannot you verify value property
>> of the list
>>
>>
>>
>>
>> On Wed, Jan 15, 2014 at 12:18 AM, aneel pal <[email protected]> wrote:
>>
>>> Hi Kishore,
>>>
>>> Through you code i was able to select the item in WebList but selected
>>> option is not reflected in WebList
>>>
>>> I think my problem is not clear to everyone, so i am explaining it more
>>> clearly.
>>>
>>> Suppose we have WebList with all the Country name and if i selected
>>> "India" after expanding the WebList and then after collasping the Weblist
>>> "India" should display in Weblist as selected option.
>>>
>>>
>>> Thanks
>>> Aneel
>>>
>>>
>>> On Tue, Jan 14, 2014 at 9:15 PM, Kishor Kumar <[email protected]>wrote:
>>>
>>>> Hi Aneel,
>>>> the control (weblist is presented in WebTable), so find out the row and
>>>> column where the weblist exist in a table
>>>> then use child item () to get reference like below
>>>>
>>>> assume weblist exist in Row2 , column 3. then
>>>>
>>>> Set RefList=Br().p().Webtable().childItem(row,col,"WebList",0)
>>>>
>>>> RefList.select "#1"
>>>>
>>>>
>>>>
>>>> On Tue, Jan 14, 2014 at 9:03 PM, aneel pal <[email protected]> wrote:
>>>>
>>>>>
>>>>>  
>>>>> Spy.png<https://docs.google.com/file/d/0Bzl7KjFnQcZNX2JmWDhScTVNNU0/edit?usp=drive_web>
>>>>> Hi Prakash,
>>>>>
>>>>> Items are not coming as "WebElement" , For reference I am attaching
>>>>> Screen Shot (Spy) ,
>>>>>
>>>>> Please Suggest me any other way .
>>>>>
>>>>> Thanks And Regards
>>>>> Aneel
>>>>>
>>>>>
>>>>> On Sun, Jan 12, 2014 at 3:24 PM, Prakash Maurya <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Aneel,
>>>>>>
>>>>>> Try to spy the values displayed in the drop down list..like "Green",
>>>>>> "Blue", i guess they will be coming as 'WebElement' instead of WebList. 
>>>>>> In
>>>>>> this case you have to add these objects/colors in your object repository
>>>>>> and then 1st click on web-list and than click on the color/WebElement you
>>>>>> want to select.
>>>>>>
>>>>>> Thanks & Regards,
>>>>>> Prakash Maurya
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Saturday, 11 January 2014 18:16:16 UTC+5:30, Aneel wrote:
>>>>>>>
>>>>>>> Hi All Experts,
>>>>>>>
>>>>>>>
>>>>>>> I am facing one problem while working on web based MS CRM 2013
>>>>>>> Application.
>>>>>>>
>>>>>>> I am able to select the option in weblist but after selection that
>>>>>>> option is not listed as selected option in weblist.
>>>>>>> Below code selects the option
>>>>>>> Browser("").Page("").Frame("").WebList("Lst_ColorCode").Select
>>>>>>> "Green"
>>>>>>>
>>>>>>> And after that it is not display as selected option in weblist.
>>>>>>>
>>>>>>> I tried with sendkey {ENTER} also but not getting any success
>>>>>>>
>>>>>>> I am using QTP 9.5 , refer the attached screen shot.
>>>>>>>
>>>>>>> Please help
>>>>>>>
>>>>>>>
>>>>>>> Thanks and Regards,
>>>>>>> Aneel
>>>>>>>
>>>>>>  --
>>>>>> --
>>>>>> 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/groups/opt_out.
>>>>>>
>>>>>
>>>>>  --
>>>>> --
>>>>> 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/groups/opt_out.
>>>>>
>>>>
>>>>  --
>>>> --
>>>> 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/groups/opt_out.
>>>>
>>>
>>>  --
>>> --
>>> 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/groups/opt_out.
>>>
>>
>>  --
>> --
>> 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 a topic in the
>> Google Groups "QTP - HP Quick Test Professional - Automated Software
>> Testing" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/mercuryqtp/fAfmbT2BwmY/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> --
> 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/groups/opt_out.
>

-- 
-- 
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/groups/opt_out.

Reply via email to