[wtr-general] Re: Page Loading Issues
Thread.new { while sleep(60) first_url = browser.url sleep(60) second_url = browser.url if (first_url == second_url ) browser.refresh end end } On Nov 25, 11:03 pm, Moochie <[EMAIL PROTECTED]> wrote: > Like this? > > http://blog.headius.com/2008/02/rubys-threadraise-threadkill-timeoutr... > > On Nov 25, 3:57 pm, Moochie <[EMAIL PROTECTED]> wrote: > > > How did you create a separate thread? > > > Thanks, > > > Darin > > > On Nov 25, 1:37 pm, JArkelen <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have the same issue on our website. > > > What I have done is to activate a separate thread which gets the url > > > of the page, then waits for 60 seconds and gets the url of the page > > > again. If the url's are the same (the same page is still loading), it > > > performs a browser.refresh > > > Not the prettiest way of solving this, but the problem is that > > > normally the page has to be loaded fully to for watir to continue with > > > the next line of code. > > > > Cheers, > > > John > > > > On Nov 25, 3:50 pm, Moochie <[EMAIL PROTECTED]> wrote: > > > > > Occasionally I have a page that doesn’t fully load successfully. > > > > (sometime it waits for a image to be loaded that never seems to get > > > > loaded) > > > > > I guessing this is a development issue, but I would like to create a > > > > way to by pass this so I can continue running the test case. > > > > > My goal is continues automation, but it difficult when these types of > > > > error exist. > > > > > Does anyone know a way to get around this issue? Maybe disable the > > > > page load wait method?- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] issue of attach method for firewatir
Hi All, I have below issue: when use attach method of firewatir, I can't get original firefox object. the code like below: ff=FireWatir::Firefox.start(url) // start a original ff object ff_new=ff.attach(:title,"title") // attach pop up browser I want to check contain on original ff browser("ff" object), the contain be added via ff_new object(pop up ff browser) another issue is : after click button on ff_new. success to add contain but prompt error "typeError: exception class/object expected" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] How to click to open a mail in gmail box with Watir
Dear All: I have tried Watir to do some automation test with gmail. Currently, It can logon into gmail. and open inbox folder, currently, I want to click one mail with specail name ('test mail') aumatically, And I can see the span has been freshed with yellow highlighted, however, gmail will not go to that email. canvas_frame = @browser.frame(:id, 'canvas_frame') canvas_frame.span(:text,'test mail').click I think my problem will be some like below one. http://groups.google.com/group/watir-general/browse_thread/thread/2bf2f3aca80bf669/6fd00c03eb062385 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] how to handle javascript popups problem with firewatir
I am using firewatir-1.6.2 to make a web automation tool in my project. I come to the problem that I can't click the javascript popup "OK" button successfully. I use the code like this: ** browser.startClicker('ok', 20) browser.button(:id, 'confirm').click # pop the javascript window ** Actually, the code above make the javascript popup nerver appear, but the popup "OK" button is not clicked. So it just make the the javascript popup disabled. Anyone here know how to handle javascript popups with firewatir ? Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to check a text_field focus status
Super, You have given a nice solution. Thanks for your idea, it works Thanks, Prince3105 On Nov 26, 11:13 am, "wesley chen" <[EMAIL PROTECTED]> wrote: > I just know, there is a method, ie.text_field( ).focus, can focus the mouse > on the input box. > So, I find a way, which can cope your problem. > When you turn the special page, you don't need to know whether the focus is > on the text field, you just have to: > ie.send_keys("hello"), then tell from > if ie.text_field( ).value.eql?("hello") > do something, next step > else > do something other, next step > end > > Expect it could help. > > Thanks. > Wesley Chen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to check a text_field focus status
I just know, there is a method, ie.text_field( ).focus, can focus the mouse on the input box. So, I find a way, which can cope your problem. When you turn the special page, you don't need to know whether the focus is on the text field, you just have to: ie.send_keys("hello"), then tell from if ie.text_field( ).value.eql?("hello") do something, next step else do something other, next step end Expect it could help. Thanks. Wesley Chen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to check a text_field focus status
Hi mates any idea? i have searched enough but not yet received any solution... In my application i should find whether the text field is focused or not, then only i can move to the next step. before WatIR i was using QTP, where i can use "object.focused" method, it will return a Boolean value "True or False". If any method available in Watir please tell me. I am expecting for your valuable reply. Thanks, Prince3105 On Nov 24, 2:47 pm, Prince3105 <[EMAIL PROTECTED]> wrote: > Hi Experts, > > I am a newbie to WatIR. Can we check whether a text field is focused > or not. If is it possible please post the solution. > > Thanks, > > Prince3105 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: get text from page (regex) & assign to variable
Very nice. Thanks Wes. I couldnt find this anywhere! Cheers. On Wed, Nov 26, 2008 at 3:38 PM, wesley chen <[EMAIL PROTECTED]> wrote: > You have to: workspace.text_field(:id,"NUM_prcsdProductId").set(* > pproduct_no.to_s*) > Because the pproduct you created is just a matchdata, not a string, you > have to change the format manual. > > Thanks. > Wesley Chen. > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: get text from page (regex) & assign to variable
You have to: workspace.text_field(:id,"NUM_prcsdProductId").set(* pproduct_no.to_s*) Because the pproduct you created is just a matchdata, not a string, you have to change the format manual. Thanks. Wesley Chen. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] get text from page (regex) & assign to variable
Hi all, Im trying to get text off the browser and assign it to a variable to use later on. Pretty standard really. However its just not working.. In irb> this : puts /(1\d+)/.match(workspace.text) returns the text : 150543110 So it only makes sense that this: pproduct_no = /(1\d+)/.match(workspace.text) is equal to 150543110 as proven here puts pproduct_no 150543110 However when I do this workspace.text_field(:id,"NUM_prcsdProductId").set(pproduct_no) returns this error ArgumentError: comparison of String with 128 failed from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ input_elements.rb:386:in `>' from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ input_elements.rb:386:in `characters_in' from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ input_elements.rb:373:in `type_by_character' from C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/./watir/ input_elements.rb:339:in `set' Althoughthis seems to work just fine. workspace.text_field(:id,"NUM_prcsdProductId").set("150543110") Something just aint right here. Anyone wish to advise?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Page Loading Issues
Like this? http://blog.headius.com/2008/02/rubys-threadraise-threadkill-timeoutrb.html On Nov 25, 3:57 pm, Moochie <[EMAIL PROTECTED]> wrote: > How did you create a separate thread? > > Thanks, > > Darin > > On Nov 25, 1:37 pm, JArkelen <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have the same issue on our website. > > What I have done is to activate a separate thread which gets the url > > of the page, then waits for 60 seconds and gets the url of the page > > again. If the url's are the same (the same page is still loading), it > > performs a browser.refresh > > Not the prettiest way of solving this, but the problem is that > > normally the page has to be loaded fully to for watir to continue with > > the next line of code. > > > Cheers, > > John > > > On Nov 25, 3:50 pm, Moochie <[EMAIL PROTECTED]> wrote: > > > > Occasionally I have a page that doesn’t fully load successfully. > > > (sometime it waits for a image to be loaded that never seems to get > > > loaded) > > > > I guessing this is a development issue, but I would like to create a > > > way to by pass this so I can continue running the test case. > > > > My goal is continues automation, but it difficult when these types of > > > error exist. > > > > Does anyone know a way to get around this issue? Maybe disable the > > > page load wait method?- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Page Loading Issues
How did you create a separate thread? Thanks, Darin On Nov 25, 1:37 pm, JArkelen <[EMAIL PROTECTED]> wrote: > Hi, > > I have the same issue on our website. > What I have done is to activate a separate thread which gets the url > of the page, then waits for 60 seconds and gets the url of the page > again. If the url's are the same (the same page is still loading), it > performs a browser.refresh > Not the prettiest way of solving this, but the problem is that > normally the page has to be loaded fully to for watir to continue with > the next line of code. > > Cheers, > John > > On Nov 25, 3:50 pm, Moochie <[EMAIL PROTECTED]> wrote: > > > > > Occasionally I have a page that doesn’t fully load successfully. > > (sometime it waits for a image to be loaded that never seems to get > > loaded) > > > I guessing this is a development issue, but I would like to create a > > way to by pass this so I can continue running the test case. > > > My goal is continues automation, but it difficult when these types of > > error exist. > > > Does anyone know a way to get around this issue? Maybe disable the > > page load wait method?- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Getting error at installing 1.6.1
FYI: got this same builder doc error when I tried to install just now.. Do we need to update the install instructions in the tutorial and such to reflect that users might expect to see this error, and what (if anything) they need to do about it? Perhaps also update the 'Output should be something like this:" example to reflect what users currently see when they do the install (sample below) =-=-=- My experience =-=-= Environment is a CLEAN (as in pristine, fresh) windows 2003 server system (it's a VM but I doubt that matters). Never had Ruby or Watir on it. Installed Ruby 186-27-RC2 without issues (yeah living on the 'edge' with the RC {smirk}) Rest of the install looked like this (yes I'm an admin on the box) C:\Documents and Settings\Chuckv>gem update --system Updating RubyGems Nothing to update C:\Documents and Settings\Chuckv>gem install watir Successfully installed activesupport-2.2.2 Successfully installed xml-simple-1.0.11 Successfully installed rubyforge-1.0.1 Successfully installed rake-0.8.3 Successfully installed hoe-1.8.2 Successfully installed s4t-utils-1.0.4 Successfully installed builder-2.1.2 Successfully installed user-choices-1.1.6 Successfully installed commonwatir-1.6.2 Successfully installed firewatir-1.6.2 Successfully installed watir-1.6.2 11 gems installed Installing ri documentation for activesupport-2.2.2... Installing ri documentation for rubyforge-1.0.1... Installing ri documentation for rake-0.8.3... Installing ri documentation for hoe-1.8.2... Installing ri documentation for s4t-utils-1.0.4... Installing ri documentation for builder-2.1.2... ERROR: While generating documentation for builder-2.1.2 ... MESSAGE: Unhandled special: Special: type=17, text="" ... RDOC args: --ri --op C:/Ruby/lib/ruby/gems/1.8/doc/builder-2.1.2/ ri --title Builder -- Easy XML Building --main README --line-numbers --quiet lib CHANGES Ra kefile README doc/releases/builder-1.2.4.rdoc doc/releases/ builder-2.0.0.rdoc do c/releases/builder-2.1.1.rdoc (continuing with the rest of the installation) Installing ri documentation for user-choices-1.1.6... Installing ri documentation for commonwatir-1.6.2... Installing ri documentation for firewatir-1.6.2... Installing ri documentation for watir-1.6.2... Installing RDoc documentation for activesupport-2.2.2... Installing RDoc documentation for rubyforge-1.0.1... Installing RDoc documentation for rake-0.8.3... Installing RDoc documentation for hoe-1.8.2... Installing RDoc documentation for s4t-utils-1.0.4... Installing RDoc documentation for builder-2.1.2... Installing RDoc documentation for user-choices-1.1.6... Installing RDoc documentation for commonwatir-1.6.2... Installing RDoc documentation for firewatir-1.6.2... Installing RDoc documentation for watir-1.6.2... C:\Documents and Settings\Chuckv> On Nov 11, 1:32 pm, Bret Pettichord <[EMAIL PROTECTED]> wrote: > Lisa Crispin wrote: > > If you are monkey-patching and want to use firefox, what do you do > > instead of > > require 'watir/ie' - do you say require 'watir/firefox'? We tried > > that and it didn't work. > > use 'require "firewatir"' as before. > > > > > Maybe our assumption is bad - we assumed that since the new version > > can use firefox, we can run watir on the mac? > > > If you use the environment variable to set the browser version, and > > use Watir::Browser.new instead, do you need require 'watir/ie' at all? > No. > > I'm just trying to get pointed down the right road. require 'watir/ie' > > is working when we run our scripts on windows. But we want more > > flexibility. > > thanks, > > Lisa- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: How to click dijit button char
OK so we can't see what the functions called by them do, but it does look like there are 4 events getting defined.. have you tried using code to fire one of the events ("onmousedown" seems the most obvious candidate) to see if that makes the list appear? odds are after the mousedown, you're going to then have to fire some kind of mouseover event for a list item perhaps followed by another mousedown, or mouseup .. but without interacting with the site it's hard to tell (is it designed to click on the list, then click on the item, or as a click- drag-release?) just as a guess I'd expect the meat of the work to be done by mousedown events, while mouseover and others that seem to be calling '_onmouse' are probably just causing it to change colors for the illusion of focus being on the thing under the mouse. So if that's not enough to get you going in the right direction, please post a larger section of the page code (or point us at a similar page that is publically available) as Wesley requested. On Nov 24, 10:35 am, maven999 <[EMAIL PROTECTED]> wrote: > Hi Chuck, > > Here is the preceding html which I should have included in my original > question: > > > dojoattachevent="onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseen-ter:_onMouse,onmouseleave:_onMouse" > dojoattachpoint="downArrowNode"> > role="presentation"> > ▼ > > > > > Thanks! > > On Nov 24, 12:44 pm, Chuck vdL <[EMAIL PROTECTED]> wrote: > > > > > is there anything in the html that is defining something like an > > 'onclick' for that thing? all I see in the code above is basically > > just text..and normal text isn't clickable as far as I know. > > maybe there's some other object that's actually overlapping that > > button > > > On Nov 21, 11:30 am, maven999 <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I have a drop down menu that can only be accessed by clicking on a > > > down arrow character (▼) on the combo box. The html for the click > > > location is pasted below: > > > > > > role="presentation"> > > > ▼ > > > > > > > Flashing the button works: > > > > $ie.div(:class, 'dijitDownArrowButtonInner').flash > > > > But clicking it does not work: > > > > $ie.div(:class, 'dijitDownArrowButtonInner').click > > > > Any ideas? Also, since it is not a traditional select_list, how do I > > > select an item when I do get the drop-down list to appear? > > > > Thanks!- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Page Loading Issues
Hi, I have the same issue on our website. What I have done is to activate a separate thread which gets the url of the page, then waits for 60 seconds and gets the url of the page again. If the url's are the same (the same page is still loading), it performs a browser.refresh Not the prettiest way of solving this, but the problem is that normally the page has to be loaded fully to for watir to continue with the next line of code. Cheers, John On Nov 25, 3:50 pm, Moochie <[EMAIL PROTECTED]> wrote: > Occasionally I have a page that doesn’t fully load successfully. > (sometime it waits for a image to be loaded that never seems to get > loaded) > > I guessing this is a development issue, but I would like to create a > way to by pass this so I can continue running the test case. > > My goal is continues automation, but it difficult when these types of > error exist. > > Does anyone know a way to get around this issue? Maybe disable the > page load wait method? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Page Loading Issues
Occasionally I have a page that doesn’t fully load successfully. (sometime it waits for a image to be loaded that never seems to get loaded) I guessing this is a development issue, but I would like to create a way to by pass this so I can continue running the test case. My goal is continues automation, but it difficult when these types of error exist. Does anyone know a way to get around this issue? Maybe disable the page load wait method? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Was(Re: Watir Podcast) Now(Ruby and .Net)
Bret, On 25/11/2008, Bret Pettichord <[EMAIL PROTECTED]> wrote: > > I don't want to answer Paul's questions for him, but everyone should > understand that Watir is not for Ruby applications. It is for web > applications written in any language. It works great for .Net applications. > > Bret I thought it was implicitly known that Watir will work on any HTML\Javascript front-end. However there are many new Watir potential users who might just know it as a Ruby test tool. If you for example you needed to talk to .Net objects (maybe in setup and teardown) then you would have to use a Ruby\.Net bridge. Aidy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Inactive windows on remote machine
Hi All, I have investigate this issue more and I understand that remote machine is not an issue. I have the next issue with locked machine. I have scheduled running of.rb file that run my tests in particular time. So when this file tries to run on locked machine $ie = Watir::IE.new command does not make new IE window active. This window is always opened but it is not bringed to front. Any other Watir actions does not make this window active too. Is this expected Watir behavior or this is a bug? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Please review - Text.Exist method
You can do it for example like this: puts ie.text.scan(/organisation/i).size --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---